[Python-Dev] __pycode__ extension
Aahz
aahz at pythoncraft.com
Tue Nov 16 19:45:48 CET 2004
On Tue, Nov 16, 2004, Stelios Xanthakis wrote:
>
> I posted a message on c.l.p a couple of days ago about a
> python patch which adds a member __pycde__ to functions and
> classes. This member is a string which holds the python code of
> the function/class. (It works in interactively defined code
> and exec'd definitions)
>
> Supposing that: I ported this to 2.4b2 and made it have zero overhead
> when python runs in normal mode, is there any chance it would be
> considered a candidate for inclusion in mainline python?
There is zero chance it'll go into 2.4. There's a decent chance it'll
go into 2.5, but if you get any pushback on the feature, be prepared to
write up a full PEP.
--
Aahz (aahz at pythoncraft.com) <*> http://www.pythoncraft.com/
WiFi is the SCSI of the 21st Century -- there are fundamental technical
reasons for sacrificing a goat. (with no apologies to John Woods)
More information about the Python-Dev
mailing list