Serhiy Storchaka added the comment: Here is a patch that partially reverts changes of issue27030. It allows using unknown escapes in re.sub() replacement template, but they are deprecated and will be errors in 3.7.
If this is good to you Barry, and Ned allows, it can be committed in 3.6 only. But this could delay adding support of new escapes (like \xXX, \uXXXX, etc) in replacement templates. ---------- assignee: serhiy.storchaka -> ned.deily priority: normal -> release blocker resolution: fixed -> stage: resolved -> patch review status: closed -> open Added file: http://bugs.python.org/file45774/re-sub-allow-unknown-escapes.patch _______________________________________ Python tracker <rep...@bugs.python.org> <http://bugs.python.org/issue27030> _______________________________________ _______________________________________________ Python-bugs-list mailing list Unsubscribe: https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com