[Python-ideas] feature to make traceback objects usable without references to frame locals and globals

Antoine Pitrou solipsis at pitrou.net
Sat Jun 26 12:04:35 CEST 2010

On Sat, 26 Jun 2010 20:23:52 +1200
Greg Ewing <greg.ewing at canterbury.ac.nz> wrote:
> ghazel at gmail.com wrote:
> > I'm interested in a feature which allows users to discard the locals
> > and globals references from frames held by a traceback object.
> I'd like to take this further and remove the need for
> traceback objects to refer to a frame object at all.
> The standard traceback printout only needs two pieces of
> information from the traceback, the file name and line
> number.

Both ideas seem reasonable, but they need a concrete proposal
and/or a patch.



More information about the Python-ideas mailing list