On 4/22/07, Steven Bethard <[EMAIL PROTECTED]> wrote: > On 4/22/07, Jim Jewett <[EMAIL PROTECTED]> wrote: > > PEP: 30XX > > Title: Access to Module/Class/Function Currently Being Defined (this)
> One thing that isn't clear... You're saying "keywords". So that means > "__module__" would not be a normal attribute looked up on in the > globals or builtins, but instead would be associated with its own > op-code? My assumption would be something closer to Michele's solution -- the parser would create a new type of AST node, and the compiler would emit slightly different bytecode, but no new op-codes would be needed. -jJ _______________________________________________ Python-3000 mailing list [email protected] http://mail.python.org/mailman/listinfo/python-3000 Unsubscribe: http://mail.python.org/mailman/options/python-3000/archive%40mail-archive.com
