[Python-Dev] Class decorators
Jim Jewett
jimjjewett at gmail.com
Fri Mar 31 03:21:13 CEST 2006
More information about the Python-Dev mailing list
Fri Mar 31 03:21:13 CEST 2006
- Previous message: [Python-Dev] reference leaks, __del__, and annotations
- Next message: [Python-Dev] pysqlite for 2.5?
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Phillip J. Eby wrote: > I don't even recall seeing any examples of class decorators > being used without arguments! I have often started with a function, and ended up replacing it with a callable object so that I could save state without resorting to "defalt args" or worse. I would prefer to decorate these exactly like the functions they replace. -jJ
- Previous message: [Python-Dev] reference leaks, __del__, and annotations
- Next message: [Python-Dev] pysqlite for 2.5?
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
More information about the Python-Dev mailing list