[Python-Dev] Deprecating invalid escape sequences: review request (original) (raw)
Emanuel Barry vgr255 at live.ca
Mon Aug 22 21:16:21 EDT 2016
- Previous message (by thread): [Python-Dev] Anyone know Brendan Scott, author of 'Python for Kids'?
- Next message (by thread): [Python-Dev] PEP 525
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Hello Python-dev, some time ago I went ahead and implemented a patch to deprecate the invalid escape sequences (e.g. \c, \g, \h, etc.) in str and bytes literals. The change itself is pretty straightforward, and shouldn't be hard to review. The change was split in two patches; one which does the actual deprecation and adds relevant tests, and the other fixes all invalid escape sequences in the entire CPython distribution (this resulted in a substantial patch file of over 2000 lines). I'd like to get this reviewed and merged in time, so I'm asking here. Thanks in advance!
http://bugs.python.org/issue27364
-Emanuel
- Previous message (by thread): [Python-Dev] Anyone know Brendan Scott, author of 'Python for Kids'?
- Next message (by thread): [Python-Dev] PEP 525
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]