Versioning Libraries

Randall Smith randall at
Fri Dec 3 01:24:24 CET 2004

As Python changes and old code still needs to work properly, I wonder if 
there is a standard way to note which version of the Python interpreter 
code is intended to work with.  I know that an executable may begin with 
#!/usr/bin/python2.3 or something similar, but what about libraries and 
such?  Would it be a good idea for the software I write to check for the 
version of the interpreter?

Randall Smith

More information about the Python-list mailing list