Numeric literals in other than base 10 - was Annoying octal notation

Ben Finney ben+python at benfinney.id.au
Sun Aug 23 10:01:46 EDT 2009


garabik-news-2005-05 at kassiopeia.juls.savba.sk writes:

> Why not just use the space? 123 000 looks better than 123_000, and is
> not syntactically ambiguous (at least in python). And as it already
> works for string literals, it could be applied to numbers, too…

+1 to all this. I think this discussion was had many months ago, but
can't recall how it ended back then.

-- 
 \              “Only the educated are free.” —Epictetus, _Discourses_ |
  `\                                                                   |
_o__)                                                                  |
Ben Finney



More information about the Python-list mailing list