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 scoder
Recipients ethan.furman, georg.brandl, mark.dickinson, petr.viktorin, rhettinger, scoder, serhiy.storchaka, skrah, yselivanov
Date 2016-03-19.10:38:33
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <>
Nice one. While reimplementing it for Cython, I noticed that the grammar described in the PEP isn't exactly as it's implemented, though. The grammar says

    digit (["_"] digit)*

whereas the latest patch (v4) says

    `digit` (`digit` | "_")*

and also implements it that way. The former doesn't allow underscores at the end of a literal.

And the regexes in seem happy to accept "0x___", for example. Is that intended?
Date User Action Args
2016-03-19 10:38:34scodersetrecipients: + scoder, georg.brandl, rhettinger, mark.dickinson, petr.viktorin, skrah, ethan.furman, serhiy.storchaka, yselivanov
2016-03-19 10:38:34scodersetmessageid: <>
2016-03-19 10:38:34scoderlinkissue26331 messages
2016-03-19 10:38:33scodercreate