Mark Shannon <m...@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 <rep...@bugs.python.org>
<http://bugs.python.org/issue13783>
_______________________________________
_______________________________________________
Python-bugs-list mailing list
Unsubscribe: 
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com

Reply via email to