title: Get raw line in csv.reader?
body: <p>I'm making a wrapper around <code>csv.reader</code> that will let the reader keep working even if it encounters a malformed line (i.e. one that has a NULL byte). It looks like:</p>
  
  <pre><code>def error_ignoring_csv_reader(csv_reader):
      while True:
          try:
              yield next(csv_reader)
          except csv.Error, e:
              logger.warning("Got badly formed line with error [%s]" % e)
  </code></pre>
  
  <p>What I'd really like to do is include the raw problematic line as part of the logged warning "Got badly formed line <code>[actual_raw_line]</code>", but reading over csv's source code, I haven't found any way of accessing it. Is it possible to access the raw, unprocessed current line we're on in csv.reader?</p>