[rfc] use absolute imports

Martin Pool mbp at canonical.com
Mon Feb 19 04:29:13 GMT 2007


After a conversation with John I thought I'd try enabling absolute
imports.  However, it looks like there's no clean way to turn these on
only on python2.5, since they can't be guarded by an if or try/except
block.  Nevertheless I think our code should always use 'import
bzrlib.foo' not 'import foo'.

-- 
Martin
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 20070219-absolute-import.diff
Type: text/x-diff
Size: 496 bytes
Desc: not available
Url : https://lists.ubuntu.com/archives/bazaar/attachments/20070219/d2af9842/attachment.bin 


More information about the bazaar mailing list