Stefan Behnel <sco...@users.sourceforge.net> added the comment:

I can't speak for much outside of Cython, and Cython generated modules would 
best be regenerated with a newer Cython version anyway in order to work with 
Py3.3. I'm not sure that's currently required, though.

As long as there is a way to access these fields directly from the struct (with 
the usual preprocessor conditional), I don't think Cython will actually start 
to use the PyErr_[GS]etExcInfo() functions in CPython - simply for performance 
reasons. Inlining the access is just way faster than calling into external 
functions, especially when that happens more than once.

I'm still surprised about the general lack of resistence against incompatible 
changes to a public struct, though, especially when they come without an 
obvious gain. Is this really just for code beautification? I agree that this 
would be nice, but how can it be worth breaking code?

I don't see any objection to the generator related changes in this patch.

----------

_______________________________________
Python tracker <rep...@bugs.python.org>
<http://bugs.python.org/issue13897>
_______________________________________
_______________________________________________
Python-bugs-list mailing list
Unsubscribe: 
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com

Reply via email to