2.3b2: Slow commands (several seconds) under SunOS / Sparc

Eric Siegerman lists08-bzr at davor.org
Thu Nov 18 21:41:22 GMT 2010


On Thu, 2010-11-18 at 21:19 +0200, Jari Aalto wrote:
> Bingo! The evil was in:
> 
>     PYTHONPATH="/usr/local/lib/python:$PYTHONPATH"
> 
> Where PYTHONPATH is empty string, causing the effect
> 
>     PYTHONPATH="/usr/local/lib/python:"
> 
> Which strangely gets interepreted as if written:
> 
>     PYTHONPATH="/usr/local/lib/python:."

For future reference, be aware that (at least) PATH and
LD_LIBRARY_PATH are subject to this kind of error as well, as
they also interpret a null component as ".".  Python's not the
strange one here; it's following a well established, if
unfortunate, tradition.

  - Eric





More information about the bazaar mailing list