[docs] [issue13783] Clean up PEP 380 C API additions

Mark Shannon report at bugs.python.org
Wed Jun 13 19:33:27 CEST 2012


Mark Shannon <mark at hotpy.org> added the comment:

There is one call to PyGen_FetchStopIterationValue in ceval.c.

But I don't think it should be public. 

There is no real reason for the "Gen" in the name. The function is used by generator handling code, but the code itself relates to StopIteration.
Perhaps it should be moved to errors.c and renamed _PyErr_FetchStopIterationValue.

----------
nosy: +Mark.Shannon

_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue13783>
_______________________________________


More information about the docs mailing list