[issue23214] BufferedReader.read1(size) signature incompatible with BufferedIOBase.read1(size=-1)

Serhiy Storchaka report at bugs.python.org
Sun Mar 13 03:44:24 EDT 2016


Serhiy Storchaka added the comment:

Shouldn't read1(-1) be the same as read1(sys.maxsize)? I.e. read from a buffer without limit.

----------
nosy: +benjamin.peterson, pitrou, serhiy.storchaka, stutzbach

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


More information about the Python-bugs-list mailing list