[Author Prev][Author Next][Thread Prev][Thread Next][Author Index][Thread Index]

Re: [pygame] Python 3.0 to be backwards incompatible ?



Paulo Silva wrote:
division operator were the first thing came on mind when reading about
this - i'ts really annoying having to do 'c=operator.truediv(a,b)'
instead of merelly' 'c=a/b',

Um... didn't you know that you can do

  from __future__ import division

and then c=a/b will do what you want in that module?

But it will certainly be nice to have this as the
default behaviour in 3.0.

--
Greg