bzr using cwd in pythonpath?
Alexander Belchenko
bialix at ukr.net
Wed Nov 30 11:21:26 GMT 2005
Jamie Wilkinson пишет:
> This one time, at band camp, Andrew Bennetts wrote:
>
>>tokenize usually gets N_TOKENS from "from token import *", but in your case I'll
>>bet its finding token.py in your current directory.
>>
>>This is definitely something that should be fixed...
>
>
> So, bug in tokenize, or bug in bzr's sys.path?
I think it is known limitation/bug of python sys.path mechanism.
But we could remove '.' from sys.path for avoiding problems.
Alexander
More information about the bazaar
mailing list