Idea: PYTHONPATH_VER

Pete Shinners pete at shinners.org
Fri May 14 01:26:02 EDT 2004


I've been working on systems that have multiple versions of python. 
People are also trying to manage the compilation of external extension 
modules. The problem is there is no easy way to control the separate 
modules for each python version.

I keep thinking having a separate PYTHONPATH environment variable for 
each version of Python would really make life easier. I have heard Perl 
started doing this sometime ago and it is in use on these same machines.

At startup Python 2.4 would prepend PYTHONPATH24 to the regular path. 
Easy to do, likely just slip into the "site.py". Would there be any 
problems trying to get something like this added for 2.4?





More information about the Python-list mailing list