[Python-Dev] Reference cycles in Exception.__traceback__
Greg Ewing
greg.ewing at canterbury.ac.nz
Thu Mar 6 22:41:44 CET 2014
More information about the Python-Dev mailing list
Thu Mar 6 22:41:44 CET 2014
- Previous message: [Python-Dev] Reference cycles in Exception.__traceback__
- Next message: [Python-Dev] Why not make frames? [was: Reference cycles in Exception.__traceback__]
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Antoine Pitrou wrote: > We might allow the creation of traceback objects, but without any custom > frame objects it is unclear how useful that would be. When I was implementing Pyrex, I would have found it very useful to be able to create Traceback objects without Frames, but only if the Traceback were able to hold a line number. As it was, I had to create an entire fake Frame object filled with mostly dummy values, just to get line numbers printed in the traceback. -- Greg
- Previous message: [Python-Dev] Reference cycles in Exception.__traceback__
- Next message: [Python-Dev] Why not make frames? [was: Reference cycles in Exception.__traceback__]
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
More information about the Python-Dev mailing list