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 kitterma
Recipients kitterma
Date 2010-01-16.05:15:18
SpamBayes Score 0.00026037253
Marked as misclassified No
Message-id <1263618920.78.0.558103176688.issue7711@psf.upfronthosting.co.za>
In-reply-to
Content
Using the csv module I encountered an ASCII NUL in a file and got this error:

"_csv.Error: line contains NULL byte"

According to the documentation ( http://docs.python.org/library/csv.html#module-contents ) it should be csv.Error:.  Attempting to trap the error using try:/except _csv.Error: does not work.  It needs to be except csv.Error:.
History
Date User Action Args
2010-01-16 05:15:21kittermasetrecipients: + kitterma
2010-01-16 05:15:20kittermasetmessageid: <1263618920.78.0.558103176688.issue7711@psf.upfronthosting.co.za>
2010-01-16 05:15:19kittermalinkissue7711 messages
2010-01-16 05:15:18kittermacreate