STINNER Victor <victor.stin...@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 <rep...@bugs.python.org> <http://bugs.python.org/issue12175> _______________________________________ _______________________________________________ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com