[Python-ideas] An easier syntax for writing decorators(&similar things)?

Steven Bethard steven.bethard at gmail.com
Thu Jan 24 03:12:03 CET 2008


On Jan 23, 2008 7:06 PM, Aaron Brady <castironpi at comcast.net> wrote:
>         def f( callback, *bar, **bkwar ):
>                 def preg ( callfore, *far, **fkwar ):
>                         sf= g( callback, callfore, bar, bkwar, far, fkwar )
>                         return sf
>                 return preg
>
> We see how to rewrite this one?

The Python Ideas list is really intended as sort of a testing ground
for potential PEPs. What is it that you're proposing to add to or
remove from the language?

If you're just enjoying writing code in Python, comp.lang.python is a
more appropriate place to post.

STeVe
-- 
I'm not *in*-sane. Indeed, I am so far *out* of sane that you appear a
tiny blip on the distant coast of sanity.
        --- Bucky Katt, Get Fuzzy



More information about the Python-ideas mailing list