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 meador.inge
Recipients docs@python, meador.inge, ncoghlan
Date 2012-01-22.04:09:31
SpamBayes Score 8.4564294e-07
Marked as misclassified No
Message-id <1327205372.09.0.568705477007.issue13783@psf.upfronthosting.co.za>
In-reply-to
Content
'PyStopIteration_Create' is just a trivial wrapper:

PyObject *
PyStopIteration_Create(PyObject *value)
{
    return PyObject_CallFunctionObjArgs(PyExc_StopIteration, value, NULL);
}

It is not needed.

As for 'PyGen_FetchStopIterationValue', does it really need to be public?  It is trivial to make it private because all calls to it are in 'genobject.c'.  However, I am not sure if there is a strong use case for having it public.
History
Date User Action Args
2012-01-22 04:09:32meador.ingesetrecipients: + meador.inge, ncoghlan, docs@python
2012-01-22 04:09:32meador.ingesetmessageid: <1327205372.09.0.568705477007.issue13783@psf.upfronthosting.co.za>
2012-01-22 04:09:31meador.ingelinkissue13783 messages
2012-01-22 04:09:31meador.ingecreate