Re: newbie division question

2006-09-18 Thread Marc 'BlackJack' Rintsch
In <[EMAIL PROTECTED]>, Paul McGuire wrote: > <[EMAIL PROTECTED]> wrote in message > news:[EMAIL PROTECTED] >> >>> PS Any news on when true division will be the default? >> >> Python 3.0 (aka P3K). It is the release that can break backwards >> compatibility. >> >> http://www.python.org/dev/peps/p

Re: newbie division question

2006-09-18 Thread Paul McGuire
<[EMAIL PROTECTED]> wrote in message news:[EMAIL PROTECTED] > >> PS Any news on when true division will be the default? > > Python 3.0 (aka P3K). It is the release that can break backwards > compatibility. > > http://www.python.org/dev/peps/pep-3000/ > > casevh > Yes, Break Backwards Compatibilit

Re: newbie division question

2006-09-18 Thread casevh
> PS Any news on when true division will be the default? Python 3.0 (aka P3K). It is the release that can break backwards compatibility. http://www.python.org/dev/peps/pep-3000/ casevh -- http://mail.python.org/mailman/listinfo/python-list

Re: newbie division question

2006-09-18 Thread David Isaac
> Alan Isaac wrote: > > Suppose x and y are ints in moduleA. > > > > If I put > > from __future__ import division > > in moduleA then x/y will produce the truediv result. > > > > If I put > > from __future__ import division > > in moduleB > > and > > from moduleB import * > > in module A > > then x

Re: newbie division question

2006-09-18 Thread casevh
David Isaac wrote: > Suppose x and y are ints in moduleA. > > If I put > from __future__ import division > in moduleA then x/y will produce the truediv result. > > If I put > from __future__ import division > in moduleB > and > from moduleB import * > in module A > then x/y will NOT produce the tru

newbie division question

2006-09-18 Thread David Isaac
Suppose x and y are ints in moduleA. If I put from __future__ import division in moduleA then x/y will produce the truediv result. If I put from __future__ import division in moduleB and from moduleB import * in module A then x/y will NOT produce the truediv result (in moduleA). Why? And is ther