[issue13897] Move fields relevant to sys.exc_info out of frame into generator/threadstate
Mark Shannon
report at bugs.python.org
Wed Apr 11 14:06:26 CEST 2012
Mark Shannon <mark at 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 <report at bugs.python.org>
<http://bugs.python.org/issue13897>
_______________________________________
More information about the Python-bugs-list
mailing list