Benjamin Peterson added the comment: I think it's too bad parsing of b-prefixed strings in Python 2 doesn't reject non-ASCII characters. ---------- _______________________________________ Python tracker <report at bugs.python.org> <http://bugs.python.org/issue18965> _______________________________________