making python scripts backwards compatible
Martin v. Löwis
loewis at informatik.hu-berlin.de
Sun May 5 13:08:18 EDT 2002
"James J. Besemer" <jb at cascade-sys.com> writes:
> You don't have to test or support them all. Just name one version
> guaranteed to work, e.g. the one you did the development under. This should
> not be a hardship for anybody.
For the standard Python distribution, there is a global statement that
it only works with the Python release it came with: no earlier
version, no later version. That may not be in the documentation, so I
state it here.
There are a few known exceptions: SRE works with Python 1.5 and later
(up to the version it ships with); xml.* works with Python 2.0 and
later (used to be 1.5.2)
Regards,
Martin
More information about the Python-list
mailing list