[Cython] nonecheck and as_none_safe_node method

Zaur Shibzukhov szport at gmail.com
Tue Mar 5 07:24:42 CET 2013


2013/3/5 Zaur Shibzukhov <szport at gmail.com>

> In ExprNodes.py there are several places where method `as_none_safe_node`
> was applied in order to wrap a node by NoneCheckNode.
> I think it would be resonable to apply that mostly only in cases when
> noncheck=True.
>
> Here are possible changes in ExprNodes.py:
>
> https://github.com/intellimath/cython/commit/bd041680b78067007ad6b9894a2f2c18514e397c
>
> This change would prevent generation of None checking of an objects
(lists, tuples, unicode) when nonecheck=True.

Any adeas?


Zaur Shibzukhov
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.python.org/pipermail/cython-devel/attachments/20130305/d9c014ea/attachment.html>


More information about the cython-devel mailing list