We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent b5c50ce commit 0a49fd9Copy full SHA for 0a49fd9
newsfragments/15.feature.rst
@@ -0,0 +1,5 @@
1
+Add support for PEP 525-style finalization hooks via ``set_asyncgen_hooks()``
2
+and ``get_asyncgen_hooks()`` functions, which mimic the behavior of the ones
3
+in ``sys`` if we're running on a Python version that doesn't have them natively.
4
+``@async_generator`` generators behave the same way as native ones with respect
5
+to these hooks.
0 commit comments