[docs] [issue20699] Behavior of ZipFile with file-like object and BufferedWriter.

Martin Panter report at bugs.python.org
Sat Jan 10 08:44:26 CET 2015


Martin Panter added the comment:

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.

----------
assignee:  -> docs at python
components: +Documentation
keywords: +patch
nosy: +docs at python
Added file: http://bugs.python.org/file37662/bytes-like-param.patch

_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue20699>
_______________________________________


More information about the docs mailing list