[Python-Dev] Passing floats to file.seek

skip at pobox.com skip at pobox.com
Mon Nov 13 15:49:26 CET 2006


    >> Right. There seem to be people who believe that 1e6 is an int.
    ...
    Steve> Next thing you know some damned fool is going to suggest that 1e6
    Steve> gets parsed into a long integer.

Maybe in Py3k a decimal point should be required in floats using exponential
notation - 1.e6 or 1.0e6 - with suitable deprecation warnings in 2.6+ about
1e6.

Skip


More information about the Python-Dev mailing list