Mark Shannon <m...@hotpy.org> added the comment:

According to PEP 384 (Defining a Stable ABI) the thread state object is opaque, 
so we should be free to add or remove fields.

Nevertheless, I have added a new patch that simply moves the f_exc... fields 
from the frame object to the generator. It is not as efficient as the first 
patch, but at least it moves fields relevant only to generators into the 
generator object.

----------
Added file: http://bugs.python.org/file25177/exc_info2.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