Serhiy Storchaka added the comment: See issue28128.
A warning should be emitted when you compile the code, but it shouldn't be emitted when you import compiled module. ---------- nosy: +serhiy.storchaka resolution: -> duplicate stage: -> resolved status: open -> closed superseder: -> Improve the warning message for invalid escape sequences _______________________________________ Python tracker <rep...@bugs.python.org> <http://bugs.python.org/issue28354> _______________________________________ _______________________________________________ Python-bugs-list mailing list Unsubscribe: https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com