Revised PEP 318 - Function/Method Decorator Syntax

Jeremy Fincher tweedgeezer at hotmail.com
Tue Jun 10 17:02:33 EDT 2003


Bernhard Herzog <bh at intevation.de> wrote in message news:<6qwufu12ee.fsf at salmakis.intevation.de>...
> *compiled*?
> 
> Surely you mean "when the def-statement is executed."

...

> >     In either case, the modified function is bound to the function
> >     name at compile time.
>
> Again, I think you mean "when the def-statement is executed."

No, he probably means "compile time."  Python is compiled to bytecode
separate from being execute, the the def statement is executed at
compile time.

Jeremy




More information about the Python-list mailing list