Tin mới
GitHub CopilotWrite better code with AI
GitHub Copilot appDirect agents from issue to merge
CodespacesInstant dev environments
Code ReviewManage code changes
Code QualityEnforce quality at merge
GitHub Advanced SecurityFind and fix vulnerabilities
Code securitySecure your code as you build
Secret protectionStop leaks before they start
GitHub SponsorsFund open source developers
Copilot for BusinessEnterprise-grade AI features
Premium SupportEnterprise-grade 24/7 support
Learn more about hiding disruptive comments
The reason will be displayed to describe this comment to others. Learn more.
Added initial test and docs drafts.
Make first case pass setting code flags.
Adjust iscoroutinefunction() to look for async __call__.
Moved to decorator; extra tests.
Adjusted docs signature for review comment.
[DRAFT] Initial sketch of iscoroutinefunction shim for PY312
Good point on the docs. Whichever way we go, a small tweak there. 👀
There was an error while loading. Please reload this page.
Renamed to _is_coroutine_marker.
Adjusted implementation and docs.
Initial sketch of iscoroutinefunction shim for PY312
Added coroutine detection shims for Python 3.12 django/asgiref#360
Refs #34118 -- Adopted asgiref coroutine detection shims. django/django#16380
Initial sketch of iscoroutinefunction shim for PY312
Merge branch 'main' into fastmock
iscoroutinefunction returns False for wrapper functions with update_wrapper applied #100317
Merged main into regmachine branch (
gh-94912: Adjusted check for non-standard coroutine function marker. #100935
asyncio.iscoroutinefunction(<async_generator>.asend) returns False #81371