Alternative decorator syntax decision

Anthony Baxter anthonybaxter at gmail.com
Thu Aug 19 23:16:56 EDT 2004


On Fri, 20 Aug 2004 01:37:07 +0100, Robin Becker
<robin at spamremovejessikat.fsnet.co.uk> wrote:
> Is there any discussion about which versions are currently legal python
> in Python-2.x x<4? I deal with lot's of cross version maintainance
> issues and the very worst are where the syntax makes it illegal even to
> compile the files. I believe that B is legal and has implementations for
> earlier pythons available, but are others?

Backwards compatibility is not considered a desirable goal.

Don't forget that any code that uses generator expressions is _also_
invalid in Python 2.3 and earlier - and they'll be used a hell of a lot
more than decorators.



More information about the Python-list mailing list