Underscores in Python numbers
stefan.rank at ofai.at
Sat Nov 19 10:01:34 CET 2005
on 19.11.2005 06:56 Steven D'Aprano said the following:
> Perhaps Python should concatenate numeric literals at compile time:
> 123 456 is the same as 123456.
> Off the top of my head, I don't think this should break any older code,
> because 123 456 is not currently legal in Python.
but only allow (a single ?) space(s), otherwise readability issues ensue.
The other idea of teaching int() about separator characters has
In many European countries, one would naturally try::
More information about the Python-list