[Python-Dev] Re: new syntax for wrapping (PEP 318) (original) (raw)
Phillip J. Eby pje at telecommunity.com
Thu Feb 26 12:14:13 EST 2004
- Previous message: [Python-Dev] Re: new syntax for wrapping (PEP 318)
- Next message: [Python-Dev] Re: new syntax for wrapping (PEP 318)
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
At 10:51 PM 2/25/04 -0500, Bob Ippolito wrote:
Not having this syntax requires A WHOLE !@#$*( lot of verbosity and repetition, or drastic measures such as alternative compilers (Quixote) or really awful terrible introspection hacks (PEAK does stack introspection).
Actually, that's only for class decoration. PEAK does method decoration the old fashioned way, i.e.:
class Something: def aMethod(self): ....
aMethod = binding.Make(aMethod)
So, an accepted function decorator syntax will make this sort of thing clearer for PEAK as well.
- Previous message: [Python-Dev] Re: new syntax for wrapping (PEP 318)
- Next message: [Python-Dev] Re: new syntax for wrapping (PEP 318)
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]