New submission from Scott Kitterman <skl...@kitterman.com>:

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:.

----------
components: None
messages: 97864
nosy: kitterma
severity: normal
status: open
title: csv error name incorrect
type: behavior
versions: Python 2.5, Python 2.6

_______________________________________
Python tracker <rep...@bugs.python.org>
<http://bugs.python.org/issue7711>
_______________________________________
_______________________________________________
Python-bugs-list mailing list
Unsubscribe: 
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com

Reply via email to