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 1c4e6b9 commit 245a701Copy full SHA for 245a701
Misc/NEWS.d/next/Library/2025-12-10-142418.rst
@@ -1 +1,4 @@
1
-Fix inspect.iscoroutinefunction() not detecting marked functools.partial or functools.partialmethod objects.
+Fix ``inspect.iscoroutinefunction()`` incorrectly returning ``False`` for
2
+callables wrapped in ``functools.partial`` or ``functools.partialmethod`` when
3
+explicitly marked with ``inspect.markcoroutinefunction()``. The function now
4
+detects coroutine markers on wrappers at each unwrap stage.
0 commit comments