New issue 3132: pypy3: utf-16 + surrogatepass doesn't error out on invalid input https://bitbucket.org/pypy/pypy/issues/3132/pypy3-utf-16-surrogatepass-doesnt-error
Christoph Reiter: `b"\xd8=a".decode("utf-16-be", "surrogatepass")` Expected: `UnicodeDecodeError: 'utf-16-be' codec can't decode byte 0x61 in position 2: truncated data` Actual: No error, wrong result returned. _______________________________________________ pypy-issue mailing list pypy-issue@python.org https://mail.python.org/mailman/listinfo/pypy-issue