@decorator syntax is sugar, but for what exactly?

"Martin v. Löwis" martin at v.loewis.de
Sun Aug 8 06:58:07 EDT 2004


Anthony Baxter wrote:
> The "Python of 1.5.2 simplicitly" is long, long gone. I don't agree that
> newer Python's are somehow worse because new things have been
> added. A short list:
> 
>   new style classes
>   foo(*arg, **kwarg)
>   iterators
>   generators 
>   list comprehensions

My favourite one: string methods.

Regards,
Martin



More information about the Python-list mailing list