This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

Author CWRU_Researcher1
Recipients CWRU_Researcher1, mark.dickinson
Date 2008-11-29.17:34:44
SpamBayes Score 0.00031177493
Marked as misclassified No
Message-id <1227980088.64.0.601896828514.issue4460@psf.upfronthosting.co.za>
In-reply-to
Content
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
History
Date User Action Args
2008-11-29 17:34:48CWRU_Researcher1setrecipients: + CWRU_Researcher1, mark.dickinson
2008-11-29 17:34:48CWRU_Researcher1setmessageid: <1227980088.64.0.601896828514.issue4460@psf.upfronthosting.co.za>
2008-11-29 17:34:47CWRU_Researcher1linkissue4460 messages
2008-11-29 17:34:47CWRU_Researcher1create