On Dec 28, 2007 3:56 PM, Alexandre Vassalotti <[EMAIL PROTECTED]> wrote:
> Otherwise, could I simply subclass my StringIO and write the newlines
> conversion facilities in Python?

I tried that, and I found out it doesn't work well either. Again, I
can't reuse IncrementalNewlineDecoder since it expects bytes. So, I
will basically have to reimplement it for unicode, which is kind of an
ugly solution. Just by curious, anyone has a better idea? Otherwise, I
am just going to take the ugly solution.

-- Alexandre
_______________________________________________
Python-3000 mailing list
[email protected]
http://mail.python.org/mailman/listinfo/python-3000
Unsubscribe: 
http://mail.python.org/mailman/options/python-3000/archive%40mail-archive.com

Reply via email to