Problem using bzr on Python program

Alexander Belchenko bialix at ukr.net
Mon Feb 12 15:26:51 GMT 2007


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Chris Seaton пишет:
> I figured it out, my PYTHONPATH is
> /home/ugrads/coms2003/cs3951/linux/installed/lib:
> 
> I guess Python is seeing the empty path after the : and taking that to
> mean the current directory. Most programs ignore empty paths in an
> environment variable, as they are introduced by doing PATH=$PATH:foo
> kind of things - if PATH is currently empty a blank path is introduced.
> 
> Why does Python do this? Is it a bug? Most applications ignore empty
> paths in env variables, and you use . to add the current directory.
> Should I file a bug with Python?

My best guess it's actually bug in Python.
But, probably you need at least ask in Python community
(comp.lang.python, per example) for clarification.

Alexander
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.5 (MingW32)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org

iD8DBQFF0Ic6zYr338mxwCURAkKlAJ90Xk+VLYWlfXLMYXIVf4E2V7PfOwCfQiX0
I8f2sG2u6J7dKuyLUFlMwJc=
=XesR
-----END PGP SIGNATURE-----




More information about the bazaar mailing list