New submission from STINNER Victor <[EMAIL PROTECTED]>: PyLong_Ssize_t() returns -1 and set an error (OverflowError) on overflow, but some modules don't check this case. Here is a first patch for BytesIO() and StringIO().
---------- components: Library (Lib) files: py3k_bytes_stringio.patch keywords: patch messages: 73868 nosy: haypo severity: normal status: open title: Check PyInt_AsSsize_t/PyLong_AsSsize_t error versions: Python 2.6, Python 3.0 Added file: http://bugs.python.org/file11615/py3k_bytes_stringio.patch _______________________________________ Python tracker <[EMAIL PROTECTED]> <http://bugs.python.org/issue3977> _______________________________________ _______________________________________________ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com