[Python-ideas] 1_000_000

Steven D'Aprano steve at pearwood.info
Sat May 7 04:00:43 CEST 2011


Ethan Furman wrote:

> I see it as a readability issue -- if you have 1_024 and _1025 (etc, 
> etc), where one is a number and the other a name, confusion can easily 
> result.

I don't think there will be *that* much confusion though.

_1025 can occur on the LHS of an assignment, 1_024 cannot. And we 
already distinguish between x1234 and 0x1234 without much confusion.



-- 
Steven



More information about the Python-ideas mailing list