Commit Graph

1 Commits

Author SHA1 Message Date
Zac Hatfield-Dodds 375d7c9158
PEP 789: Preventing task-cancellation bugs by limiting yield in async generators (#3782)
* PEP 9999: First draft for limiting-yield

* PEP 9999: cleanups and clarifications

* PEP 789

* PEP 789: further clarifications

* PEP 789: fix typos

* PEP 789: move codeowners entry

* PEP 789: "block" -> "prevent"

because the term "block" is overloaded in this context.

* PEP 789: maybe just deprecate asyncgens?

* PEP 789: why to keep async gens

* PEP 789: add corrected code sample

* PEP 789: can't just deliver exceptions

* PEP 789: bytecode inspection?

* PEP 789: various small updates

* PEP 789: mermaid diagrams

For expedience I'm using sphinxcontrib-mermaid here; we can easily embed .png versions before merging if preferred.

* PEP 789: footnotes section

* PEP 789: minor clarifications

* PEP 789: minor expression edits

---------

Co-authored-by: Jelle Zijlstra <jelle.zijlstra@gmail.com>
2024-06-03 18:45:13 -07:00