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 martin.panter
Recipients Henning.von.Bargen, benjamin.peterson, docs@python, martin.panter, pitrou
Date 2015-01-10.07:44:23
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1420875865.43.0.821968770474.issue20699@psf.upfronthosting.co.za>
In-reply-to
Content
I think the simplest thing to do here would be to update the documentation to match the usage. This patch does so, saying that all write() methods, as well as the BytesIO() constructor, have to accept bytes-like objects. It also expands some tests to verify this, and fixes a resulting bug in _pyio.
History
Date User Action Args
2015-01-10 07:44:26martin.pantersetrecipients: + martin.panter, pitrou, benjamin.peterson, docs@python, Henning.von.Bargen
2015-01-10 07:44:25martin.pantersetmessageid: <1420875865.43.0.821968770474.issue20699@psf.upfronthosting.co.za>
2015-01-10 07:44:25martin.panterlinkissue20699 messages
2015-01-10 07:44:25martin.pantercreate