This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

Author skip.montanaro
Recipients jdwhitley, sjmachin, skip.montanaro
Date 2009-03-09.13:15:42
SpamBayes Score 0.0011448708
Marked as misclassified No
Message-id <18869.5755.705088.181998@montanaro.dyndns.org>
In-reply-to <1236567664.39.0.912806944135.issue5455@psf.upfronthosting.co.za>
Content
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.
History
Date User Action Args
2009-03-09 13:15:45skip.montanarosetrecipients: + skip.montanaro, sjmachin, jdwhitley
2009-03-09 13:15:43skip.montanarolinkissue5455 messages
2009-03-09 13:15:42skip.montanarocreate