Nick Coghlan added the comment:

Also worth noting: *adding* state to coroutines that isn't present on 
generators would be fine, they just need to *start* with a layout that exactly 
matches PyGenObject, since we'll sometimes process them as one.

We don't need that now, but separating the types provides the future option.

----------

_______________________________________
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

Reply via email to