[Python-Dev] Suggesting '.' decorators (PEP318)

Guido van Rossum guido at python.org
Sat Aug 7 19:53:28 CEST 2004


> Same here -- I'd rather see .foo at function level (i.e. not nested in
> a with block) provide true function attributes, not decorators.

Bleah on that idea.  The body of the function should express what it
does when it is called.  Function attributes are for who calls it
(roughly).

--Guido van Rossum (home page: http://www.python.org/~guido/)


More information about the Python-Dev mailing list