[Python-3000] PEP 30xx: Access to Module/Class/Function CurrentlyBeing Defined (this) (original) (raw)

Terry Reedy tjreedy at udel.edu
Mon Apr 23 06:17:23 CEST 2007


"Jim Jewett" <jimjjewett at gmail.com> wrote in message news:fb6fbf560704222005le4798a4j5daa5e71e644f069 at mail.gmail.com... | Functions (including methods) often want access to themselves, | usually for a private storage location.

Or for true recursion. At present, a function has to 'hope' that its definition name is not rebound.

tjr



More information about the Python-3000 mailing list