[Python-Dev] Questions about '@' in pep 318

Roman Suzi rnd at onego.ru
Fri Aug 6 14:13:30 CEST 2004


By "pythonic" I mean "in accordance with other Python syntax".
And I am not against '@', but rather against placing decorators
before the def. IMHO, it is confusing, error-prone and out of style.

Sincerely yours, Roman A.Suzi
-- 
 - Petrozavodsk - Karelia - Russia - mailto:rnd at onego.ru -

On Fri, 6 Aug 2004, [ISO-8859-1] "Martin v. L?wis" wrote:

> Roman Suzi wrote:
> > I think @ before def are unacceptable because they aren't too Pythonic
> > and thus break style and aestetics of Python.
>
> This is not a convincing statement. Who is going to define what is
> Pythonic and what is not? My understanding of that term was that it
> can only refer to programs (e.g. a function could do something in
> a Pythonic way - namely, if that is how other Python practitioners
> would have written it). The language itself is by nature Pythonic -
> even if it would add curly braces. Of course, Pythonic version 2.4
> differs from Pythonic version 1.4.
>
> Regards,
> Martin
> _______________________________________________
> Python-Dev mailing list
> Python-Dev at python.org
> http://mail.python.org/mailman/listinfo/python-dev
> Unsubscribe: http://mail.python.org/mailman/options/python-dev/rnd%40onego.ru
>


More information about the Python-Dev mailing list