Comment 3 for bug 715067

Revision history for this message
Alexander Belchenko (bialix) wrote : Re: [Bug 715067] Re: No module named configobj error with debian patched bzr-2.3.0

Gary van der Merwe пишет:
> On 09/02/2011 11:31, Alexander Belchenko wrote:
>> I disagree. We should try to import copy from bzrlib first and only if
>> it fails then use modules from python.
>
> For what reason? (Asking because I don't have a full understanding myself.)

For the consistency with bzrlib.

original bzrlib/config.py only tries to import as:

from bzrlib.util.configobj import configobj

Importing python-wide library first you potentially get versions
mismatch for non-patched bzr.