[Python-Dev] PYTHON3PATH

Ralf Schmitt ralf at brainbot.com
Wed Jan 13 18:55:31 CET 2010


Guido van Rossum <guido at python.org> writes:

> Somehow the bug site doesn't load for me right now, but I'm -1 on
> this. There are maybe a dozen PYTHON... variables -- we really
> shouldn't try to add PYTHON3 variants for all of them.
>
> Specifically for PYTHONPATH, I feel that its use is always a
> short-time or localized hack, not something you set in your .profile
> nd forget about it (forgetting about it inparticular often leads to
> unnecessary debugging pain later). The better approaches are based on
> site-packages, wrapper scripts, virtualenv, etc.

then at least remove them completely from python3, so one can use them
for his python 2 installation. Otherwise it will stump on some innocent
python 3 program (and cause unnecessary debugging pain).




More information about the Python-Dev mailing list