[issue2557] PYTHONPATH conflict

Armin Rigo bugs at mercurial.selenic.com
Thu Dec 16 15:57:19 UTC 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>
<http://mercurial.selenic.com/bts/issue2557>
____________________________________________________


More information about the Mercurial-devel mailing list