Antoine Pitrou added the comment: Here is a patch. It also fixes a bug in the debug allocators, which didn't properly check for Py_ssize_t overflow.
---------- Added file: http://bugs.python.org/file37108/ba_resize.patch _______________________________________ Python tracker <rep...@bugs.python.org> <http://bugs.python.org/issue22335> _______________________________________ _______________________________________________ Python-bugs-list mailing list Unsubscribe: https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com