Dag Sverre Seljebotn, 14.04.2010 10:01: > Greg Ewing wrote: >> Dag Sverre Seljebotn wrote: >> >>> one can in >>> principle get bitten by global variables as well as arguments (but >>> Lisandro, Stefan and Greg would argue that the majority of the >>> None-values come from user code in Python calling Cython code >> >> Typed global variables are not exposed to Python, so Python >> code can't stick None values directly into them. >> >> It's not so much that the "majority" of None values are assumed >> to come from Python code, but that the Pyrex programmer is >> assumed to know what he's doing with his own code and refrain >> from misusing None. Python code, on the other hand, lives out >> there beyond the pale and can't be trusted. >> > Yes, that was my point: I'm fallible, I make bugs, sometimes I don't > know what I'm doing :-)
Sure, and the proposed change is targeting one common source of those bugs. Stefan _______________________________________________ Cython-dev mailing list [email protected] http://codespeak.net/mailman/listinfo/cython-dev
