[Python-Dev] Suggesting '.' decorators (PEP318) (original) (raw)
Guido van Rossum guido at python.org
Sat Aug 7 19:53:28 CEST 2004
- Previous message: [Python-Dev] Suggesting '.' decorators (PEP318)
- Next message: [Python-Dev] Suggesting '.' decorators (PEP318)
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
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/)
- Previous message: [Python-Dev] Suggesting '.' decorators (PEP318)
- Next message: [Python-Dev] Suggesting '.' decorators (PEP318)
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]