David Beazley <d...@dabeaz.com> added the comment: Hmmm. Well, the docs seem to say that it's allowed and that it will be encoded as UTF-8.
Given the treatment of Unicode/bytes elsewhere in Python 3, all I can say is that this behavior is rather surprising. ---------- _______________________________________ Python tracker <rep...@bugs.python.org> <http://bugs.python.org/issue10783> _______________________________________ _______________________________________________ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com