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 skip.montanaro
Recipients benjamin.peterson, docs@python, pitrou, skip.montanaro
Date 2010-08-30.13:27:36
SpamBayes Score 1.0563352e-09
Marked as misclassified No
Message-id <1283174858.84.0.744522501572.issue9715@psf.upfronthosting.co.za>
In-reply-to
Content
A couple wording comments:

"All streams are careful about the type of data you give to them"
would read better as "All streams accept specific types of data".

"The default mode is ``'r'`` (open for reading text, synonym of
``'rt'``)".  I liked the original wording better.

Finally, not specific to this change, but I wonder if rather than
having distinct io.StringIO and io.BytesIO classes it would be better
to have a single io.MemoryIO class which takes mode arguments just
like io.FileIO?  The correspondence between file-based and memory-
based i/o would be more one-to-one.  Such a class could be added
without breaking existing code by using the StringIO and BytesIO
classes as the back-end for a MemoryIO class.
History
Date User Action Args
2010-08-30 13:27:38skip.montanarosetrecipients: + skip.montanaro, pitrou, benjamin.peterson, docs@python
2010-08-30 13:27:38skip.montanarosetmessageid: <1283174858.84.0.744522501572.issue9715@psf.upfronthosting.co.za>
2010-08-30 13:27:36skip.montanarolinkissue9715 messages
2010-08-30 13:27:36skip.montanarocreate