David Christian added the comment: Raise OverflowError if unbounded read() exceeds PY_SSIZE_T_MAX bytes. Added file: http://bugs.python.org/file9511/issue1174606.diff _____________________________________ Tracker <report at bugs.python.org> <http://bugs.python.org/issue1174606> _____________________________________