This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

Author serhiy.storchaka
Recipients ethan.furman, georg.brandl, serhiy.storchaka
Date 2016-02-10.19:46:55
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1455133615.94.0.754016409256.issue26331@psf.upfronthosting.co.za>
In-reply-to
Content
* Java: only between digits. [1]
* Julia: only between digits. [2] (not well specified)
* C# 7.0 (proposal): only between digits, but adjacent underscores allowed. [3]
* Ada: only between digits. [4] (strong but very simple rules)
* D: very much like proposed patch, but trailing underscores allowed. [5]
* Perl 5: only between digits as documented (23__500 is not legal), but actually more lenient. [6]

[1] https://docs.oracle.com/javase/7/docs/technotes/guides/language/underscores-literals.html
[2] http://docs.julialang.org/en/release-0.4/manual/integers-and-floating-point-numbers/
[3] https://github.com/dotnet/roslyn/issues/216
[4] http://archive.adaic.com/standards/83lrm/html/lrm-02-04.html#2.4
[5] http://dlang.org/spec/lex.html#integerliteral
[6] http://perldoc.perl.org/perldata.html#Scalar-value-constructors
History
Date User Action Args
2016-02-10 19:46:55serhiy.storchakasetrecipients: + serhiy.storchaka, georg.brandl, ethan.furman
2016-02-10 19:46:55serhiy.storchakasetmessageid: <1455133615.94.0.754016409256.issue26331@psf.upfronthosting.co.za>
2016-02-10 19:46:55serhiy.storchakalinkissue26331 messages
2016-02-10 19:46:55serhiy.storchakacreate