Author r.david.murray
Recipients docs@python, gromgull, r.david.murray
Date 2014-02-03.15:48:35
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1391442515.16.0.991243677509.issue20501@psf.upfronthosting.co.za>
In-reply-to
Content
This requires (1) a doc update to indicate the problem and (2) a way to tell fileinput to *not* use readlines to optimize by calling readlines(bufsize), since in the case of using codecs it can be a problem.  Presumably buffer=None would be the logical way to spell this.
I'm marking this as a doc bug, a separate issue should be opened for adding the fileinput buffer=None enhancement.

(The codec module's comments indicate there's no practical way to implement sizehint.)
History
Date User Action Args
2014-02-03 15:48:35r.david.murraysetrecipients: + r.david.murray, docs@python, gromgull
2014-02-03 15:48:35r.david.murraysetmessageid: <1391442515.16.0.991243677509.issue20501@psf.upfronthosting.co.za>
2014-02-03 15:48:35r.david.murraylinkissue20501 messages
2014-02-03 15:48:35r.david.murraycreate