Yury Selivanov added the comment: Attached is the second iteration of the patch. Now, besides just speeding up types.coroutine() for pure python generator functions, it also provides a better wrapper around generator-like objects.
---------- nosy: +scoder Added file: http://bugs.python.org/file39563/types_coroutine_speedup.patch _______________________________________ Python tracker <rep...@bugs.python.org> <http://bugs.python.org/issue24325> _______________________________________ _______________________________________________ Python-bugs-list mailing list Unsubscribe: https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com