[Python-Dev] __pycode__ extension

Jeremy Hylton jhylton at gmail.com
Tue Nov 16 20:01:47 CET 2004


On Tue, 16 Nov 2004 10:51:06 -0800, Stelios Xanthakis
<sxanth at ceid.upatras.gr> wrote:
> 
> Hi.
> 
> 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)

Functions already have a reference to code objects.  How is this different?

Jeremy


More information about the Python-Dev mailing list