Amaury Forgeot d'Arc <[email protected]> added the comment: All expressions are of type Py_ssize_t, which is signed. buffer_len is positive; the subtraction (buffer_len - offset) can overflow only if offset is a (large) negative number, but then the first part of the test is already fulfilled.
Closing unless more evidence is given. ---------- resolution: -> works for me status: open -> closed _______________________________________ Python tracker <[email protected]> <http://bugs.python.org/issue2590> _______________________________________ _______________________________________________ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
