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 pitrou
Recipients benjamin.peterson, facundobatista, georg.brandl, ncoghlan, nessus42, pitrou, r.david.murray, rhettinger
Date 2009-05-15.11:34:04
SpamBayes Score 4.313906e-08
Marked as misclassified No
Message-id <1242387246.57.0.535664194219.issue1152248@psf.upfronthosting.co.za>
In-reply-to
Content
Ok, let me qualify my position a bit:
- -1 for abusing the newline parameter
- -1 for abusing readlines()
- +0 on an additional method ("readchunks" was suggested) which does the
splitting, either on a single character or on a string

Please bear in mind the latter should involve, for each of the C and
Python implementations:
- a generic unoptimized version for BufferedIOBase
- a generic unoptimized version for TextIOBase
- an optimized version for BufferedReader/BufferedRandom
- an optimized version for TextIOWrapper

However, it is certainly an interesting task for someone wanting to play
with C code, optimizations, etc.
History
Date User Action Args
2009-05-15 11:34:06pitrousetrecipients: + pitrou, georg.brandl, rhettinger, facundobatista, ncoghlan, benjamin.peterson, nessus42, r.david.murray
2009-05-15 11:34:06pitrousetmessageid: <1242387246.57.0.535664194219.issue1152248@psf.upfronthosting.co.za>
2009-05-15 11:34:04pitroulinkissue1152248 messages
2009-05-15 11:34:04pitroucreate