Re: [Cython] nonecheck and as_none_safe_node method

2013-03-04 Thread Zaur Shibzukhov
2013/3/5 Zaur Shibzukhov szp...@gmail.com 2013/3/5 Zaur Shibzukhov szp...@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

Re: [Cython] nonecheck and as_none_safe_node method

2013-03-04 Thread Stefan Behnel
Zaur Shibzukhov, 05.03.2013 07:21: 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: