Message83353
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:35 | jdwhitley | set | recipients:
+ jdwhitley, skip.montanaro |
2009-03-09 03:09:35 | jdwhitley | set | messageid: <1236568175.29.0.593179483459.issue5455@psf.upfronthosting.co.za> |
2009-03-09 03:09:33 | jdwhitley | link | issue5455 messages |
2009-03-09 03:09:33 | jdwhitley | create | |
|