STINNER Victor added the comment: int_from_str.patch:
+ strobj = PySequence_GetSlice(u, 0, 200); + if (strobj != NULL) { + PyErr_Format(PyExc_ValueError, + "invalid literal for int() with base %d: %R", + base, strobj); + Py_DECREF(strobj); + } Oh, it remembers me that #7330 is still open. ---------- _______________________________________ Python tracker <rep...@bugs.python.org> <http://bugs.python.org/issue16741> _______________________________________ _______________________________________________ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com