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

John Arbash Meinel john at arbash-meinel.com
Fri Nov 19 04:11:31 GMT 2010


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

On 11/18/2010 6:49 PM, Aaron Bentley wrote:
> On 11/18/2010 06:33 PM, Martin Pool wrote:
>> Perhaps we could warn if '.' or '' is in sys.path?  For people running
>> './bzr selftest' that's useful; otherwise it's probably a mistake?
> 
> I don't believe it's useful when running ./bzr selftest.  Python
> automatically picks up the directory that the script was run from,
> regardless of the PYTHONPATH.
> 
> Aaron

The issue is that by the time it is in sys.path it isn't "." anymore it
is os.getpwd(). So we can't really tell the difference. We could only
warn if sys.argv[0] is not in the cwd as well, I guess.

John
=:->
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.9 (Cygwin)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/

iEYEARECAAYFAkzl+PMACgkQJdeBCYSNAAPAKQCguh6Qfup/eS28U4GVstMZN6h8
CwoAn2qx+GKWIvKel/OkHSu4Pyml070m
=kJCJ
-----END PGP SIGNATURE-----



More information about the bazaar mailing list