Brian Szuter <[EMAIL PROTECTED]> added the comment: abstract.c(PyNumber_AsSsize_t) shows this check of PyInt_AsSsize_t()'s parameter:
980: if (value == NULL) 981: return -1; 982: 983: /* We're done if PyInt_AsSsize_t() returns without error. */ 984: result = PyInt_AsSsize_t(value); Similar checks of this parameter occur in the following places: classobject.c(instance_length) 980 sliceobject.c(PySlice_GetIndices) 1020 sliceobject.c(PySlice_GetIndices) 123 sliceobject.c(PySlice_GetIndices) 115 ceval.c(PyEval_EvalFrameEx) 1179 _sre.c(match_getindex) 2772 _______________________________________ Python tracker <[EMAIL PROTECTED]> <http://bugs.python.org/issue4460> _______________________________________ _______________________________________________ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com