[issue24018] add a Generator ABC
Stefan Behnel
report at bugs.python.org
Sat Apr 25 08:03:07 CEST 2015
Stefan Behnel added the comment:
FYI, here's the patch implementation for Cython:
https://github.com/cython/cython/blob/cf63ff71c06b16c3a30facdc7859743f4cd495f6/Cython/Utility/Generator.c#L849
The only difference is that it takes care of changing "__next__" to "next" in Py2.x.
----------
_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue24018>
_______________________________________
More information about the Python-bugs-list
mailing list