STINNER Victor added the comment: fix_warning_unicodeobject.diff and issue22218-2.patch don't seem to be needed anymore. The code is now:
if (PY_SSIZE_T_MAX / (Py_ssize_t)sizeof(wchar_t) < (size + 1)) return NULL; I close the issue. More specific issues must be opened if you still want to fix similar issues. ---------- resolution: -> fixed status: open -> closed _______________________________________ Python tracker <rep...@bugs.python.org> <http://bugs.python.org/issue22218> _______________________________________ _______________________________________________ Python-bugs-list mailing list Unsubscribe: https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com