[issue24018] add a Generator ABC
Stefan Behnel
report at bugs.python.org
Fri Apr 24 18:54:35 CEST 2015
Stefan Behnel added the comment:
Searching for Python code that seems to implement the Generator protocol doesn't return much:
https://code.openhub.net/search?s=%22def%20throw%28%22%20%22def%20send%28%22%20%22def%20close%28%22&pp=0&fl=Python&mp=1&ml=1&me=1&md=1&ff=1&filterChecked=true
But at least it pointed me to this:
https://hg.python.org/cpython/file/5c0247a6f98a/Lib/multiprocessing/managers.py#l922
So, wrapping generators (apparently for remote calls in this case) seems to be another use case.
----------
_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue24018>
_______________________________________
More information about the Python-bugs-list
mailing list