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 brett.cannon
Recipients alter-bug-tracer, brett.cannon, remi.lapeyre
Date 2019-05-23.20:41:10
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1558644071.13.0.639325543388.issue36975@roundup.psfhosted.org>
In-reply-to
Content
This isn't a bug because the CSV format isn't malformed (which would be appropriate for csv.Error), but the file itself isn't appropriate encoded (or the proper encoding wasn't specified (hence UnicodeDecodeError). So the exception is appropriate.

And we do not document indirect exceptions that get raised by code, only those that are explicitly raised. So everything is as it's expected.
History
Date User Action Args
2019-05-23 20:41:11brett.cannonsetrecipients: + brett.cannon, remi.lapeyre, alter-bug-tracer
2019-05-23 20:41:11brett.cannonsetmessageid: <1558644071.13.0.639325543388.issue36975@roundup.psfhosted.org>
2019-05-23 20:41:11brett.cannonlinkissue36975 messages
2019-05-23 20:41:10brett.cannoncreate