[docs] Behavior of ZipFile with file-like object and BufferedWriter. (issue 20699)
vadmium+py at gmail.com
vadmium+py at gmail.com
Thu Feb 12 06:48:59 CET 2015
https://bugs.python.org/review/20699/diff/13586/Doc/library/io.rst
File Doc/library/io.rst (right):
https://bugs.python.org/review/20699/diff/13586/Doc/library/io.rst#newcode233
Doc/library/io.rst:233: :class:`bytearray` is required. Text I/O
classes work with
On 2015/02/12 00:26:47, storchaka wrote:
> Actually writable bytes-like object is required.
I am making a new patch that will hopefully document this for RawIOBase.
Should I do the same for BufferedIOBase.readinto() and related methods
as well? BufferedReader seems to work that way at least.
https://bugs.python.org/review/20699/diff/13586/Doc/library/io.rst#newcode403
Doc/library/io.rst:403: be less than ``len(b)``, depending on specifics
of the underlying raw
On 2015/02/12 00:26:47, storchaka wrote:
> For general bytes-like object len(b) is not the number of bytes.
Will try to fix this for all mentions, including readinto() etc.
https://bugs.python.org/review/20699/
More information about the docs
mailing list