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 Sworddragon
Recipients Sworddragon
Date 2012-07-25.20:15:47
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1343247348.26.0.437825831921.issue15449@psf.upfronthosting.co.za>
In-reply-to
Content
For file objects the read() function has the optional size argument to limit the data that will be read. I'm wondering why there isn't such an argument for readline(). Theoretically lines in a file could have million of characters and even much more. An optional limit could prevent that a high amount of data will be load into the memory.
History
Date User Action Args
2012-07-25 20:15:48Sworddragonsetrecipients: + Sworddragon
2012-07-25 20:15:48Sworddragonsetmessageid: <1343247348.26.0.437825831921.issue15449@psf.upfronthosting.co.za>
2012-07-25 20:15:47Sworddragonlinkissue15449 messages
2012-07-25 20:15:47Sworddragoncreate