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
--
http://mail.python.org/mailman/listinfo/python-list

Reply via email to