[Baypiggies] tip for moving to Python 3

Ned Deily nad at acm.org
Sat Aug 28 01:31:38 CEST 2010


In article <20100827160042.13d6871e at dartworks.biz>,
 Keith Dart <keith at dartworks.biz> wrote:
> On Fri, 27 Aug 2010 15:51:42 -0700
> Aahz <aahz at pythoncraft.com> wrote:
> 
> > as long as you're doing that, you should probably go whole-hog:
> > 
> > from __future__ import division
> 
> Good point. How could I forget that? ;-)

And take a look at Six, "simple utilities for wrapping over differences 
between Python 2 and Python 3", from Python core developer Benjamin 
Peterson:

http://pypi.python.org/pypi/six

-- 
 Ned Deily,
 nad at acm.org



More information about the Baypiggies mailing list