Serhiy Storchaka <storch...@gmail.com> added the comment: > Changing from 'unexpected end of data' to 'invalid continuation byte' for > b'\xe0\x00' is fine with me, but this will be a (minor) deviation from 2.7, > 3.1, 3.2, and pypy (it could still be changed on all these except 3.1 though).
I probably poorly said. Past and current implementations raise 'unexpected end of data' and not 'invalid continuation byte'. Test expects 'invalid continuation byte'. ---------- _______________________________________ Python tracker <rep...@bugs.python.org> <http://bugs.python.org/issue8271> _______________________________________ _______________________________________________ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com