[issue42725] PEP 563: Should the behavior change for yield/yield from's

Guido van Rossum report at bugs.python.org
Thu Jan 7 16:07:44 EST 2021


Guido van Rossum <guido at python.org> added the comment:

I wouldn’t have thought you’d need a PEP for this but if you want to write one that sounds like the right thing.

Re: async and walrus: I think those are different, their presence doesn’t affect the meaning of the function like yield. We can’t hope to prevent side effects syntactically.

----------

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


More information about the Python-bugs-list mailing list