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.
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.