<p>Too ambiguous, too hard to parse. I like the _ proposal. </p>
<div class="gmail_quote">On May 6, 2011 5:45 PM, "Ben Finney" <<a href="mailto:ben%2Bpython@benfinney.id.au">ben+python@benfinney.id.au</a>> wrote:<br type="attribution">> Greg Ewing <<a href="mailto:greg.ewing@canterbury.ac.nz">greg.ewing@canterbury.ac.nz</a>> writes:<br>
> <br>>> An alternative would be to allow spaces.<br>> <br>> I would prefer to allow space between digits in a numeric literal.<br>> <br>> 1 2345 6789<br>> 1 2 3 4 5 6789<br>> 1 234 6789<br>
> 1 234 567 89<br>> 9.876 543 210<br>> 0xFEFF 0042<br>> <br>> This nicely parallels the fact that space can separate chunks of a<br>> string literal.<br>> <br>> But that still leaves the following inconsistency:<br>
> <br>> int('1 234 567')<br>> <br>> That will currently raise a ValueError. Should it continue to do so<br>> under this proposal?<br>> <br>> -- <br>> \ “You say “Carmina”, and I say “Burana”, You say “Fortuna”, and |<br>
> `\ I say “cantata”, Carmina, Burana, Fortuna, cantata, Let's Carl |<br>> _o__) the whole thing Orff.” —anonymous |<br>> Ben Finney<br>> <br>> _______________________________________________<br>
> Python-ideas mailing list<br>> <a href="mailto:Python-ideas@python.org">Python-ideas@python.org</a><br>> <a href="http://mail.python.org/mailman/listinfo/python-ideas">http://mail.python.org/mailman/listinfo/python-ideas</a><br>
</div>