A RetroSearch Logo

Home - News ( United States | United Kingdom | Italy | Germany ) - Football scores

Search Query:

Showing content from https://mail.python.org/pipermail/python-dev/2004-February/042764.html below:

[Python-Dev] Re: new syntax for wrapping (PEP 318)

[Python-Dev] Re: new syntax for wrapping (PEP 318) [Python-Dev] Re: new syntax for wrapping (PEP 318)Phillip J. Eby pje at telecommunity.com
Thu Feb 26 12:14:13 EST 2004
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.


More information about the Python-Dev mailing list

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