Message357031
For sure the Python tokenizer/parser should reject octal escapes that produce values >= 256. Certainly in bytes strings. Probably also in text strings (nobody using Unicode thinks in octal). This is ancient behavior though (it's the same in 2.7) so it may require a deprecation for the text string case. (For byte strings, it should become an error in 3.9 -- dropping the top bit is nonsensical.)
The regex parser should not be changed. |
|
Date |
User |
Action |
Args |
2019-11-20 06:09:39 | gvanrossum | set | recipients:
+ gvanrossum, terry.reedy, taleinat, ezio.melotti, mrabarnett, serhiy.storchaka, bup, Jeffrey.Kintscher |
2019-11-20 06:09:39 | gvanrossum | set | messageid: <1574230179.62.0.969234394271.issue37367@roundup.psfhosted.org> |
2019-11-20 06:09:39 | gvanrossum | link | issue37367 messages |
2019-11-20 06:09:39 | gvanrossum | create | |
|