[issue2557] PYTHONPATH conflict

Armin Rigo bugs at mercurial.selenic.com
Thu Dec 16 09:57:19 CST 2010

New submission from Armin Rigo <arigo at tunes.org>:

Running hg might not work if the environment variable PYTHONPATH is defined
to contain the empty string (meaning the current directory), either alone or
by e.g. putting double colons.  Indeed, in this case, hg will look up
modules in the current directory; if it happens that there is, for example,
a file called ./array.py, then it will be loaded instead of the stdlib's
array module.

assignedto: danchr
messages: 14682
nosy: arigo, danchr
priority: bug
status: unread
title: PYTHONPATH conflict

Mercurial issue tracker <bugs at mercurial.selenic.com>

More information about the Mercurial-devel mailing list