[Python-ideas] Improve readability of long numeric literals

Stephen J. Turnbull stephen at xemacs.org
Wed Feb 10 09:50:57 EST 2016


Alexander Heger writes:

 > This is not true.  It is absolutely legal in FORTRAN
 > 
 >       program f
 >       print*, 123 456
 >       end

In traditional FORTRAN, so is this:

        print*,123456

and this

        p r i n t * , 1 2 3 4 5 6

and all three print statements have exactly the same meaning, because
in traditional FORTRAN spaces are completely insignificant.  That's
kinda un-Pythonic.<wink/>



More information about the Python-ideas mailing list