A RetroSearch Logo

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

Search Query:

Showing content from http://mail.python.org/pipermail/python-dev/2004-February/042767.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)Bob Ippolito bob at redivi.com
Thu Feb 26 12:38:04 EST 2004
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


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