[issue12175] FileIO.readall() read the file position and size at each read

STINNER Victor report at bugs.python.org
Wed May 25 23:42:32 CEST 2011


STINNER Victor <victor.stinner at haypocalc.com> added the comment:

> You must Py_DECREF(all) first.
> Also, you should check that "all" is either None or a bytes object.

Right, fixed in bufferedreader_readall-2.patch. By the way, thanks for your reviews.

So, do you think that fileio_readall.patch and bufferedreader_readall-2.patch should be commited, or these changes are useless?

----------
Added file: http://bugs.python.org/file22117/bufferedreader_readall-2.patch

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


More information about the Python-bugs-list mailing list