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

Greg Ewing greg.ewing at canterbury.ac.nz
Tue Jun 29 02:21:23 CEST 2010


>>Antoine Pitrou wrote:
>>
>>>"M.-A. Lemburg" <mal at egenix.com> wrote:
>>>
>>>>BTW: I wonder why proxy objects don't provide a direct access to
>>>>the weakref object they are using.
>>>
>>>Probably because the proxy would then have an additional attribute
>>>which isn't on the proxied object.

This problem could be avoided by providing a function to
extract the proxied object.

-- 
Greg



More information about the Python-ideas mailing list