Underscores in Python numbers
mde at micah.elliott.name
Mon Nov 21 16:51:28 CET 2005
On Nov 19, Steven D'Aprano wrote:
> Perhaps Python should concatenate numeric literals at compile time:
> 123 456 is the same as 123456.
+1 for readability.
But in support of no change, When was the last time you looked at long
sequences of python digits outside of your editor/IDE? You probably
don't deal with them interactively (and if you do you probably paste
So reasonable editors could just color groups differently. E.g.:
^ ^ ^
red blue red
_ _ ___
|V|icah |- lliott <>< mde at micah.elliott.name
" " """
More information about the Python-list