divmod-dev team mailing list archive
-
divmod-dev team
-
Mailing list archive
-
Message #00147
[Bug 848493] [NEW] Incorrect extension of PYTHONPATH
Public bug reported:
If the PYTHONPATH environment variable is already empty, doing something
like:
PYTHONPATH="/path/to/dir:$PYTHONPATH" python [...]
results in a PYTHONPATH of "/path/to/dir:". As the empty segment at the
end is interpreted as . (the current directory), this is undesireable.
The easiest way to avoid this is to do:
PYTHONPATH="/path/to/dir${PYTHONPATH:+:$PYTHONPATH}" python [...]
This defect is present in axiom.test.test_xatop in Axiom, as well as in
epsilon.release in Epsilon.
** Affects: divmod-axiom
Importance: Undecided
Status: New
** Affects: epsilon
Importance: Undecided
Status: New
** Affects: epsilon (Debian)
Importance: Unknown
Status: Unknown
** Affects: python-axiom (Debian)
Importance: Unknown
Status: Unknown
** Also affects: epsilon
Importance: Undecided
Status: New
** Bug watch added: Debian Bug tracker #605170
http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=605170
** Also affects: python-axiom (Debian) via
http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=605170
Importance: Unknown
Status: Unknown
** Bug watch added: Debian Bug tracker #605175
http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=605175
** Also affects: epsilon (Debian) via
http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=605175
Importance: Unknown
Status: Unknown
--
You received this bug notification because you are a member of Divmod-
dev, which is the registrant for Divmod Axiom.
https://bugs.launchpad.net/bugs/848493
Title:
Incorrect extension of PYTHONPATH
Status in Divmod Axiom:
New
Status in A set of utility modules used by Divmod projects:
New
Status in “epsilon” package in Debian:
Unknown
Status in “python-axiom” package in Debian:
Unknown
Bug description:
If the PYTHONPATH environment variable is already empty, doing
something like:
PYTHONPATH="/path/to/dir:$PYTHONPATH" python [...]
results in a PYTHONPATH of "/path/to/dir:". As the empty segment at
the end is interpreted as . (the current directory), this is
undesireable. The easiest way to avoid this is to do:
PYTHONPATH="/path/to/dir${PYTHONPATH:+:$PYTHONPATH}" python [...]
This defect is present in axiom.test.test_xatop in Axiom, as well as
in epsilon.release in Epsilon.
To manage notifications about this bug go to:
https://bugs.launchpad.net/divmod-axiom/+bug/848493/+subscriptions
Follow ups
References