[Python-Dev] 2.4a2, and @decorators
Skip Montanaro
skip at pobox.com
Mon Aug 2 21:58:01 CEST 2004
>> Can it? I must've missed that. It sure sounds like an incredible
>> hack -- how to you prevent the default behavior that the list of
>> decorators is thrown away by the interpreter?
Phillip> By using sys.settrace (and a careful tracer implementation to
Phillip> avoid interfering with debuggers or other active tracers):
I suspect Guido might class that as an "incredible hack". ;-)
Skip
More information about the Python-Dev
mailing list