[issue47147] Allow `return yield from`

Patrick Reader report at bugs.python.org
Sat Apr 2 02:15:14 EDT 2022


Patrick Reader <pxeger at protonmail.com> added the comment:

As the one who wrote the code, I can guarantee you that the StopIteration value is not always None.

But I understand your point that for most other users it is always None, and therefore having special syntax might be misleading.

----------

_______________________________________
Python tracker <report at bugs.python.org>
<https://bugs.python.org/issue47147>
_______________________________________


More information about the Python-bugs-list mailing list