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

Benjamin Peterson benjamin at python.org
Sun Jun 27 18:48:37 CEST 2010

M.-A. Lemburg <mal at ...> writes:
> With the above detail, I completely agree. In fact, more than that:
> I think we should make storing the traceback in exception.__traceback__
> optional and not the default, much like .__context__ and .__cause__.

I'm not sure why you consider __context__ non-default, since it is always
automatically set when it applies.

More information about the Python-ideas mailing list