Matthew Barnett added the comment: I can think of a real disadvantage with the current behaviour: it messes up Unicode graphemes.
For example: >>> print('हिन्दी') हिन्दी >>> print(re.escape('हिन्दी')) \ह\ि\न\्\द\ी Of course, that's only a problem if you need to print it out or write it to a file. ---------- _______________________________________ Python tracker <rep...@bugs.python.org> <http://bugs.python.org/issue18662> _______________________________________ _______________________________________________ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com