Skip Montanaro <s...@pobox.com> added the comment:

Jervis> So the returned lineobj is a bytes type and then the
    Jervis> PyUnicode_Check throws the error.

Right, but given that fact how do you get a Unicode string out of the bytes
without an encoding?  You can't open a file in binary mode and give the
encoding arg.

----------
message_count: 4.0 -> 5.0

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

Reply via email to