On Feb 26, 2004, at 12:14 PM, Phillip J. Eby wrote: > 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. Thanks for correcting me here, I was indeed referring to class decoration using stack introspection. The currently-being-debated patch includes this as well with the same syntax. -bob
RetroSearch is an open source project built by @garambo | Open a GitHub Issue
Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo
HTML:
3.2
| Encoding:
UTF-8
| Version:
0.7.4