Re: recommended __future__ imports for 2.5?

2008-11-25 Thread greg
Dennis Lee Bieber wrote: I'm still waiting to hear that from __past__ import division Well, *I'm* waiting for the time machine technology to be declassified, so we'll be able to do from __future__ import * and get all the features that are ever going to be added to Python!

Re: recommended __future__ imports for 2.5?

2008-11-25 Thread Nick Craig-Wood
Dennis Lee Bieber <[EMAIL PROTECTED]> wrote: > On Mon, 24 Nov 2008 13:36:32 -0700, Joe Strout <[EMAIL PROTECTED]> > declaimed the following in comp.lang.python: > > > older versions of Python with "from __future__ import division". Once > > I stumbled across that, I was able to find the relev

Re: recommended __future__ imports for 2.5?

2008-11-24 Thread Terry Reedy
Joe Strout wrote: OK, this will probably be placed into the "stupid question" category by some, but I really am in need of a bit of guidance here. I just rediscovered the "gotcha" of integer division in 2.5 and below, and found (to my delight) that this is fixed in 3.0, and fixable in older v

recommended __future__ imports for 2.5?

2008-11-24 Thread Joe Strout
OK, this will probably be placed into the "stupid question" category by some, but I really am in need of a bit of guidance here. I just rediscovered the "gotcha" of integer division in 2.5 and below, and found (to my delight) that this is fixed in 3.0, and fixable in older versions of Pytho