Message76609
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 |
|
Date |
User |
Action |
Args |
2008-11-29 17:34:48 | CWRU_Researcher1 | set | recipients:
+ CWRU_Researcher1, mark.dickinson |
2008-11-29 17:34:48 | CWRU_Researcher1 | set | messageid: <1227980088.64.0.601896828514.issue4460@psf.upfronthosting.co.za> |
2008-11-29 17:34:47 | CWRU_Researcher1 | link | issue4460 messages |
2008-11-29 17:34:47 | CWRU_Researcher1 | create | |
|