Guido van Rossum wrote: > > > Guido van Rossum wrote: > > > ... > > > I actually expect that most conversion jobs will be easy -- all those > > > folks who suffer from "Extreme Fear of Floating Point" (as Tim calls > > > it) can simply change every / into a // in their program (using a tool > > > that properly tokenizes) and they should be done, since most likely > > > their code never uses floating point. :-) > > > > Well, that would break floating points then... > > Not under the assumption that they will never use floating point. Verifying such an assumption will be just as hard as auditing the code itself, I'm afraid. > > unless float // float works like float / float does now. > > No, that would be a bad idea. float//float should either raise an > exception or return a rounded-towards-minus-infinity result. Hmm, it would assure that your tool doesn't accidentally break floating point code. -- Marc-Andre Lemburg CEO eGenix.com Software GmbH ______________________________________________________________________ Company & Consulting: http://www.egenix.com/ Python Software: http://www.lemburg.com/python/
RetroSearch is an open source project built by @garambo | Open a GitHub Issue
Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo
HTML:
3.2
| Encoding:
UTF-8
| Version:
0.7.4