Closed jruere closed 9 years ago
The reason why this is happening is that __next__()
is not defined for the UnicodeReader
. Python 2 uses the next()
method and Python 3 uses the __next__()
magic method. Unfortunately, that's the least of the problems with unicodecsv
's UnicodeReader
iterating in Python 3. The other problems are:
self.reader.next()
method call (should be next(self.reader)
in Python 3)unicode()
io.StringIO()
, not io.BytesIO()
in Python 3OK, I guess it's not quite ready yet. :)
I've added py3 in 0.12.0 - please try it out and open another issue if you find specific problems. :)
This works on Python2 and with the build in module.