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 georg.brandl
Recipients ethan.furman, georg.brandl, serhiy.storchaka
Date 2016-02-10.18:43:40
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1455129820.35.0.097913967706.issue26331@psf.upfronthosting.co.za>
In-reply-to
Content
It sure is more strict, but I don't think it's simpler (and it's definitely not simpler to implement).

(Also 1_j is pretty nice, I wouldn't want to lose that.)

We can also check what other languages do.

* Rust: very much like this, but trailing underscores allowed.
* Perl 5: same as here, but underscores after dot and trailing underscores allowed.
* Ruby: only between digits.

* Swift: the grammar productions say it's basically the same as Rust.  The textual description says "between digits".
History
Date User Action Args
2016-02-10 18:43:40georg.brandlsetrecipients: + georg.brandl, ethan.furman, serhiy.storchaka
2016-02-10 18:43:40georg.brandlsetmessageid: <1455129820.35.0.097913967706.issue26331@psf.upfronthosting.co.za>
2016-02-10 18:43:40georg.brandllinkissue26331 messages
2016-02-10 18:43:40georg.brandlcreate