Message262037
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 tokenize.py seem happy to accept "0x___", for example. Is that intended? |
|
Date |
User |
Action |
Args |
2016-03-19 10:38:34 | scoder | set | recipients:
+ scoder, georg.brandl, rhettinger, mark.dickinson, petr.viktorin, skrah, ethan.furman, serhiy.storchaka, yselivanov |
2016-03-19 10:38:34 | scoder | set | messageid: <1458383914.19.0.303581669379.issue26331@psf.upfronthosting.co.za> |
2016-03-19 10:38:34 | scoder | link | issue26331 messages |
2016-03-19 10:38:33 | scoder | create | |
|