Problem using bzr on Python program

Chris Seaton chris at chrisseaton.com
Mon Feb 12 14:08:54 GMT 2007


Hi,

I'm using bzr to version control a Python program. One of my modules  
is called xml.py, which causes problems because when bzr goes to  
import xml.parsers.expat, it tries to import my xml.py, as it's in  
the current directory and so checked before the standard library.

I renamed the file for the moment, but this isn't a fix really. I  
can't check the bzr source code and avoid all file names that bzr  
uses. Can't bzr remove the current directory from the module search  
path?

What puzzles me is how bzr self hosts? Surely every file that bzr  
tries to import will be found in the current directory.

Thanks

Chris Seaton



More information about the bazaar mailing list