Finding minimal Python version needed to run a script?
Dinu Gherman
gherman at darwin.in-berlin.de
Fri Apr 27 06:16:10 EDT 2001
Hello,
here are some meta-programming questions...
I wonder if there is already some tool to find out what
minimal release version of Python is needed to run a given
script?
Also, it would be interesting to list specific features used
in a script that require a certain release.
Would this kind of thing be easy/possible to write using the
compiler module?
Meta-question: does such a tool always need to be written
in the latest release of Python itself?
Regards,
Dinu
--
Dinu C. Gherman
ReportLab Consultant - http://www.reportlab.com
................................................................
"The only possible values [for quality] are 'excellent' and 'in-
sanely excellent', depending on whether lives are at stake or
not. Otherwise you don't enjoy your work, you don't work well,
and the project goes down the drain."
(Kent Beck, "Extreme Programming Explained")
More information about the Python-list
mailing list