[issue13897] Move fields relevant to sys.exc_info out of frame into generator/threadstate

Mark Shannon report at bugs.python.org
Mon Apr 9 17:56:57 CEST 2012


Mark Shannon <mark at hotpy.org> added the comment:

3rd party code should not be accessing fields in the threadstate object,
but without the accessors proposed in issue 14098 there may be no alternative.

Once the patch for issue 14098 has been applied it, would it then be acceptable to remove the surperfluous fields from the frameobject?
The logic for accessing sys.exc_info can be moved to into the new 
accessor fucntions.

----------

_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue13897>
_______________________________________


More information about the Python-bugs-list mailing list