Serhiy Storchaka <storchaka+cpyt...@gmail.com> added the comment:

I agree that we should add PyIter_Send() (the name is discussable, but 
PyIter_Send LGTM) which should support iterators and objects with the send() 
method. It would be much more useful for user, and can replace PyGen_Send() in 
the interpreter core code. But merging the PR with PyGen_Send() was not a 
mistake. It was good to split the changes on smaller steps easier to review.

Vladimir, do you mind to create a new PR for PyIter_Send()? I seen its 
implementation in one of intermediate versions of your PR.

----------

_______________________________________
Python tracker <rep...@bugs.python.org>
<https://bugs.python.org/issue41756>
_______________________________________
_______________________________________________
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com

Reply via email to