[Python-Dev] Reference cycles in Exception.__traceback__

Xavier Morel python-dev at masklinn.net
Thu Mar 6 21:38:39 CET 2014


On 2014-03-06, at 19:32 , Guido van Rossum <guido at python.org> wrote:
> But inspect is in the stdlib. Surely changing inspect.py is less controversial than amending the semantics of frame objects.

I've no idea, I'm just giving a case where I could have used the ability
to create traceback objects even without the ability to create stack
frames (changing the stdlib may also be an option, though I'd hope the
explicit type checks were put in there for a reason)


More information about the Python-Dev mailing list