Hi,
There is an uncertainty in the signature for RawIOBase.read().
PEP 3116 says:
read(n: int) -> bytes
but current io.py says:
def read(self, n: int = -1) -> bytes:
Is omitting the `n` parameter always supported by RawIOBase implementations?
(meaning: read up to the end)
Regards
Antoine.
_______________________________________________
Python-3000 mailing list
[email protected]
http://mail.python.org/mailman/listinfo/python-3000
Unsubscribe:
http://mail.python.org/mailman/options/python-3000/archive%40mail-archive.com