Language change and code breaks

Fredrik Lundh fredrik at
Wed Jul 11 23:47:11 CEST 2001

David Bolen wrote:
> > And a//b definitely beats (a+0.)/b, which does the trick, but is not
> > at all evident.
> Well, I'd probably suggest using "float(a)/b" instead which at least
> makes it a little easier to see what's going on :-)

except that it doesn't do the right thing if a is a complex


More information about the Python-list mailing list