This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

Author v2m
Recipients Mark.Shannon, lukasz.langa, scoder, serhiy.storchaka, v2m, yselivanov
Date 2020-09-18.17:55:09
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <>
Sounds like a good middleground to start: add ``PySendResult `` and `PySendResult PyGen_Send(PyGenObject*, PyObject* PyObject**)` specific to generators and coroutines. Subsequent changes could introduce `PySendResult PyIter_Send(PyObject*, PyObject*, PyObject**)` that would be more generic (call tp_next, invoke "send" or maybe in the future use dedicated slot for "send" operator so i.e. asyncio.Future or Cython coroutines could benefit from the same optimization)
Date User Action Args
2020-09-18 17:55:09v2msetrecipients: + v2m, scoder, lukasz.langa, Mark.Shannon, serhiy.storchaka, yselivanov
2020-09-18 17:55:09v2msetmessageid: <>
2020-09-18 17:55:09v2mlinkissue41756 messages
2020-09-18 17:55:09v2mcreate