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 jdwhitley
Recipients jdwhitley, skip.montanaro
Date 2009-03-09.03:09:32
SpamBayes Score 4.78435e-05
Marked as misclassified No
Message-id <>
Hi Skip,

Currently, once we are sure the lineobj is a unicode obj we then
get it's internal buffer using:

line = PyUnicode_AsUnicode(lineobj); 

for the purpose of iterating through the line.

is there an opportunity to use:

line = PyBytes_AsString(lineobj); 

(or similar approach if I have quoted an incorrect function) for the
case that we have a bytes object (not Unicode)?
Date User Action Args
2009-03-09 03:09:35jdwhitleysetrecipients: + jdwhitley, skip.montanaro
2009-03-09 03:09:35jdwhitleysetmessageid: <>
2009-03-09 03:09:33jdwhitleylinkissue5455 messages
2009-03-09 03:09:33jdwhitleycreate