Rémi Lapeyre <remi.lape...@henki.fr> added the comment: I don't understand the issue here, csv can raise many errors when an issue happens:
>>> import csv >>> csv.reader(None) Traceback (most recent call last): File "<stdin>", line 1, in <module> TypeError: argument 1 must be an iterator Why would UnicodeDecodeError not be appropriate here? ---------- nosy: +remi.lapeyre _______________________________________ Python tracker <rep...@bugs.python.org> <https://bugs.python.org/issue36975> _______________________________________ _______________________________________________ Python-bugs-list mailing list Unsubscribe: https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com