Yury Selivanov added the comment: > With the two changes I described things appear to be working, although I've > only done light testing so far.
Glad to hear that! I've attached a new patch fixing types.coroutine per your request. > More generally, the inconsistency between isgenerator() and iscoroutine() is > kind of odd. I would expect that either all inspect functions or none of them > would use a suitable ABC if one exists. iscoroutine() is just a newer API than isgenerator(). I'll create a new issue for this soon. ---------- Added file: http://bugs.python.org/file39675/corotype.patch _______________________________________ Python tracker <rep...@bugs.python.org> <http://bugs.python.org/issue24400> _______________________________________ _______________________________________________ Python-bugs-list mailing list Unsubscribe: https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com