Python 3

Martin Pool mbp at canonical.com
Wed Jun 23 02:01:42 BST 2010


On 23 June 2010 10:58, Martin Pool <mbp at canonical.com> wrote:
> Many of these cleanups will improve our code even under 2.x.

On the other hand, Robert's patch has things like

-except locale.Error, e:
+except locale.Error:
+    e = sys.exc_info()[1]

which is clearly worse, and clearly also the kind of thing that can be
easily mechanically translated by 2to3.  I wouldn't like to see that
kind of thing merged until we've decided we really want a single
codebase that works on both with no translation.

-- 
Martin



More information about the bazaar mailing list