Author gvanrossum
Recipients Jeffrey.Kintscher, bup, ezio.melotti, gvanrossum, mrabarnett, serhiy.storchaka, taleinat, terry.reedy
Date 2019-11-20.06:09:39
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1574230179.62.0.969234394271.issue37367@roundup.psfhosted.org>
In-reply-to
Content
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.
History
Date User Action Args
2019-11-20 06:09:39gvanrossumsetrecipients: + gvanrossum, terry.reedy, taleinat, ezio.melotti, mrabarnett, serhiy.storchaka, bup, Jeffrey.Kintscher
2019-11-20 06:09:39gvanrossumsetmessageid: <1574230179.62.0.969234394271.issue37367@roundup.psfhosted.org>
2019-11-20 06:09:39gvanrossumlinkissue37367 messages
2019-11-20 06:09:39gvanrossumcreate