Making code 2.1 compatible

Gerhard Häring gerhard.haering at gmx.de
Sun Jul 14 10:28:20 EDT 2002


* Edward K. Ream <edream at tds.net> [2002-07-12 15:12 +0000]:
> >Is there a way to ask Python not to allow 2.2 constructs?
> >Having Python complain when producing .pyc files would be good enough.
> 
> Perhaps I should add, using Python 2.2 itself.  One way would be to
> install Python 2.1, but I'd rather not do that :-)

But testing with a Python 2.1 installed alongside the Python 2.2 is the
only sensible way if you're trying to stay Python 2.1 compatible.

Gerhard
-- 
This sig powered by Python!
Außentemperatur in München: 19.5 °C      Wind: 1.7 m/s





More information about the Python-list mailing list