This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

Author pitrou
Recipients benjamin.peterson, ezio.melotti, lemburg, pitrou, serhiy.storchaka, vstinner
Date 2020-06-25.12:49:30
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1593089370.45.0.0611386084027.issue41115@roundup.psfhosted.org>
In-reply-to
Content
A number of codecs raise bare UnicodeError, rather than Unicode{Decode,Encode}Error. Example:

  File "/home/antoine/miniconda3/envs/pyarrow/lib/python3.7/encodings/utf_16.py", line 67, in _buffer_decode
    raise UnicodeError("UTF-16 stream does not start with BOM")

A more complete list can be found here:
https://gist.github.com/pitrou/60594b28d8e47edcdb97d9b15d5f9866
History
Date User Action Args
2020-06-25 12:49:30pitrousetrecipients: + pitrou, lemburg, vstinner, benjamin.peterson, ezio.melotti, serhiy.storchaka
2020-06-25 12:49:30pitrousetmessageid: <1593089370.45.0.0611386084027.issue41115@roundup.psfhosted.org>
2020-06-25 12:49:30pitroulinkissue41115 messages
2020-06-25 12:49:30pitroucreate