Division oddity

Michael Hudson mwh at python.net
Tue Jan 13 17:17:58 CET 2004


Peter Hansen <peter at engcorp.com> writes:

> Tim Rowe wrote:
> > 
> > Well, the documentation for "input()" says "Equivalent to
> > eval(raw_input(/prompt/))". Perhaps it should say "/Usually/
> > equivalent...."
> 
> I remember reading that too, and just assumed that at this point
> it was in fact *implemented* that way, as a simple alias.  Maybe
> it should be...

http://www.python.org/sf/876178

Ideas on how to write a testcase welcome.

Cheers,
mwh

-- 
  People think I'm a nice guy, and the fact is that I'm a scheming,
  conniving bastard who doesn't care for any hurt feelings or lost
  hours of work if it just results in what I consider to be a better
  system.                                            -- Linus Torvalds



More information about the Python-list mailing list