René's URL Explorer Experiment


Title: gh-84753: Make inspect.iscoroutinefunction() work with AsyncMock by sileht · Pull Request #94050 · python/cpython · GitHub

Open Graph Title: gh-84753: Make inspect.iscoroutinefunction() work with AsyncMock by sileht · Pull Request #94050 · python/cpython

X Title: gh-84753: Make inspect.iscoroutinefunction() work with AsyncMock by sileht · Pull Request #94050 · python/cpython

Description: The inspect version was not working with unittest.mock.AsyncMock. This change moves the asyncio fix for AsyncMock in inspect module and make asyncio.iscoroutinefunction an alias of inspect.iscorout...

Open Graph Description: The inspect version was not working with unittest.mock.AsyncMock. This change moves the asyncio fix for AsyncMock in inspect module and make asyncio.iscoroutinefunction an alias of inspect.iscorout...

X Description: The inspect version was not working with unittest.mock.AsyncMock. This change moves the asyncio fix for AsyncMock in inspect module and make asyncio.iscoroutinefunction an alias of inspect.iscorout...

Opengraph URL: https://github.com/python/cpython/pull/94050

X: @github

direct link

Domain: github.com

route-pattern/_view_fragments/voltron/pull_requests/show/:user_id/:repository/:id/pull_request_layout(.:format)
route-controllervoltron_pull_requests_fragments
route-actionpull_request_layout
fetch-noncev2:a15d400b-d9ef-0f0e-c830-b3a22cc8a13d
current-catalog-service-hashae870bc5e265a340912cde392f23dad3671a0a881730ffdadd82f2f57d81641b
request-idDF0E:1D189C:AF9D25:EA5524:69699562
html-safe-nonceca043a3226399e2cd5b6c60da061cc3d9d0a1a204abf330971e5d56ddf97ef04
visitor-payloadeyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJERjBFOjFEMTg5QzpBRjlEMjU6RUE1NTI0OjY5Njk5NTYyIiwidmlzaXRvcl9pZCI6IjY0MjE1ODg3NTkzNDAzNzM0NiIsInJlZ2lvbl9lZGdlIjoiaWFkIiwicmVnaW9uX3JlbmRlciI6ImlhZCJ9
visitor-hmac99d9e011891fc20b2ff2d8dc055a22d948b1ab10a052df1b508cd451dd7a08f9
hovercard-subject-tagpull_request:973334523
github-keyboard-shortcutsrepository,pull-request-list,pull-request-conversation,pull-request-files-changed,copilot
google-site-verificationApib7-x98H0j5cPqHWwSMm6dNU4GmODRoqxLiDzdx9I
octolytics-urlhttps://collector.github.com/github/collect
analytics-location///voltron/pull_requests_fragments/pull_request_layout
fb:app_id1401488693436528
apple-itunes-appapp-id=1477376905, app-argument=https://github.com/_view_fragments/voltron/pull_requests/show/python/cpython/94050/pull_request_layout
twitter:imagehttps://opengraph.githubassets.com/b654214fd137087ff0940e33aa7736cadbee1c58f81a493cfdc720e0456f5db6/python/cpython/pull/94050
twitter:cardsummary_large_image
og:imagehttps://opengraph.githubassets.com/b654214fd137087ff0940e33aa7736cadbee1c58f81a493cfdc720e0456f5db6/python/cpython/pull/94050
og:image:altThe inspect version was not working with unittest.mock.AsyncMock. This change moves the asyncio fix for AsyncMock in inspect module and make asyncio.iscoroutinefunction an alias of inspect.iscorout...
og:image:width1200
og:image:height600
og:site_nameGitHub
og:typeobject
og:author:usernamesileht
hostnamegithub.com
expected-hostnamegithub.com
None3542e147982176a7ebaa23dfb559c8af16f721c03ec560c68c56b64a0f35e751
turbo-cache-controlno-preview
go-importgithub.com/python/cpython git https://github.com/python/cpython.git
octolytics-dimension-user_id1525981
octolytics-dimension-user_loginpython
octolytics-dimension-repository_id81598961
octolytics-dimension-repository_nwopython/cpython
octolytics-dimension-repository_publictrue
octolytics-dimension-repository_is_forkfalse
octolytics-dimension-repository_network_root_id81598961
octolytics-dimension-repository_network_root_nwopython/cpython
turbo-body-classeslogged-out env-production page-responsive
disable-turbofalse
browser-stats-urlhttps://api.github.com/_private/browser/stats
browser-errors-urlhttps://api.github.com/_private/browser/errors
releaseaf80af7cc9e3de9c336f18b208a600950a3c187c
ui-targetfull
theme-color#1e2327
color-schemelight dark

Links:

Skip to contenthttps://github.com/python/cpython/pull/94050#start-of-content
https://github.com/
Sign in https://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fpython%2Fcpython%2Fpull%2F94050
GitHub CopilotWrite better code with AIhttps://github.com/features/copilot
GitHub SparkBuild and deploy intelligent appshttps://github.com/features/spark
GitHub ModelsManage and compare promptshttps://github.com/features/models
MCP RegistryNewIntegrate external toolshttps://github.com/mcp
ActionsAutomate any workflowhttps://github.com/features/actions
CodespacesInstant dev environmentshttps://github.com/features/codespaces
IssuesPlan and track workhttps://github.com/features/issues
Code ReviewManage code changeshttps://github.com/features/code-review
GitHub Advanced SecurityFind and fix vulnerabilitieshttps://github.com/security/advanced-security
Code securitySecure your code as you buildhttps://github.com/security/advanced-security/code-security
Secret protectionStop leaks before they starthttps://github.com/security/advanced-security/secret-protection
Why GitHubhttps://github.com/why-github
Documentationhttps://docs.github.com
Bloghttps://github.blog
Changeloghttps://github.blog/changelog
Marketplacehttps://github.com/marketplace
View all featureshttps://github.com/features
Enterpriseshttps://github.com/enterprise
Small and medium teamshttps://github.com/team
Startupshttps://github.com/enterprise/startups
Nonprofitshttps://github.com/solutions/industry/nonprofits
App Modernizationhttps://github.com/solutions/use-case/app-modernization
DevSecOpshttps://github.com/solutions/use-case/devsecops
DevOpshttps://github.com/solutions/use-case/devops
CI/CDhttps://github.com/solutions/use-case/ci-cd
View all use caseshttps://github.com/solutions/use-case
Healthcarehttps://github.com/solutions/industry/healthcare
Financial serviceshttps://github.com/solutions/industry/financial-services
Manufacturinghttps://github.com/solutions/industry/manufacturing
Governmenthttps://github.com/solutions/industry/government
View all industrieshttps://github.com/solutions/industry
View all solutionshttps://github.com/solutions
AIhttps://github.com/resources/articles?topic=ai
Software Developmenthttps://github.com/resources/articles?topic=software-development
DevOpshttps://github.com/resources/articles?topic=devops
Securityhttps://github.com/resources/articles?topic=security
View all topicshttps://github.com/resources/articles
Customer storieshttps://github.com/customer-stories
Events & webinarshttps://github.com/resources/events
Ebooks & reportshttps://github.com/resources/whitepapers
Business insightshttps://github.com/solutions/executive-insights
GitHub Skillshttps://skills.github.com
Documentationhttps://docs.github.com
Customer supporthttps://support.github.com
Community forumhttps://github.com/orgs/community/discussions
Trust centerhttps://github.com/trust-center
Partnershttps://github.com/partners
GitHub SponsorsFund open source developershttps://github.com/sponsors
Security Labhttps://securitylab.github.com
Maintainer Communityhttps://maintainers.github.com
Acceleratorhttps://github.com/accelerator
Archive Programhttps://archiveprogram.github.com
Topicshttps://github.com/topics
Trendinghttps://github.com/trending
Collectionshttps://github.com/collections
Enterprise platformAI-powered developer platformhttps://github.com/enterprise
GitHub Advanced SecurityEnterprise-grade security featureshttps://github.com/security/advanced-security
Copilot for BusinessEnterprise-grade AI featureshttps://github.com/features/copilot/copilot-business
Premium SupportEnterprise-grade 24/7 supporthttps://github.com/premium-support
Pricinghttps://github.com/pricing
Search syntax tipshttps://docs.github.com/search-github/github-code-search/understanding-github-code-search-syntax
documentationhttps://docs.github.com/search-github/github-code-search/understanding-github-code-search-syntax
Sign in https://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fpython%2Fcpython%2Fpull%2F94050
Sign up https://github.com/signup?ref_cta=Sign+up&ref_loc=header+logged+out&ref_page=%2F%3Cuser-name%3E%2F%3Crepo-name%3E%2Fvoltron%2Fpull_requests_fragments%2Fpull_request_layout&source=header-repo&source_repo=python%2Fcpython
Reloadhttps://github.com/python/cpython/pull/94050
Reloadhttps://github.com/python/cpython/pull/94050
Reloadhttps://github.com/python/cpython/pull/94050
python https://github.com/python
cpythonhttps://github.com/python/cpython
Please reload this pagehttps://github.com/python/cpython/pull/94050
Notifications https://github.com/login?return_to=%2Fpython%2Fcpython
Fork 33.9k https://github.com/login?return_to=%2Fpython%2Fcpython
Star 71.1k https://github.com/login?return_to=%2Fpython%2Fcpython
Code https://github.com/python/cpython
Issues 5k+ https://github.com/python/cpython/issues
Pull requests 2.1k https://github.com/python/cpython/pulls
Actions https://github.com/python/cpython/actions
Projects 31 https://github.com/python/cpython/projects
Security Uh oh! There was an error while loading. Please reload this page. https://github.com/python/cpython/security
Please reload this pagehttps://github.com/python/cpython/pull/94050
Insights https://github.com/python/cpython/pulse
Code https://github.com/python/cpython
Issues https://github.com/python/cpython/issues
Pull requests https://github.com/python/cpython/pulls
Actions https://github.com/python/cpython/actions
Projects https://github.com/python/cpython/projects
Security https://github.com/python/cpython/security
Insights https://github.com/python/cpython/pulse
Sign up for GitHub https://github.com/signup?return_to=%2Fpython%2Fcpython%2Fissues%2Fnew%2Fchoose
terms of servicehttps://docs.github.com/terms
privacy statementhttps://docs.github.com/privacy
Sign inhttps://github.com/login?return_to=%2Fpython%2Fcpython%2Fissues%2Fnew%2Fchoose
Jump to bottomhttps://github.com/python/cpython/pull/94050#issue-comment-box
ambvhttps://github.com/ambv
python:mainhttps://github.com/python/cpython/tree/main
sileht:iscoroutinefixhttps://github.com/sileht/cpython/tree/iscoroutinefix
gh-84753: Make inspect.iscoroutinefunction() work with AsyncMock https://github.com/python/cpython/pull/94050#top
ambvhttps://github.com/ambv
python:mainhttps://github.com/python/cpython/tree/main
sileht:iscoroutinefixhttps://github.com/sileht/cpython/tree/iscoroutinefix
Conversation 27 https://github.com/python/cpython/pull/94050
Commits 2 https://github.com/python/cpython/pull/94050/commits
Checks 0 https://github.com/python/cpython/pull/94050/checks
Files changed https://github.com/python/cpython/pull/94050/files
Please reload this pagehttps://github.com/python/cpython/pull/94050
https://github.co/hiddenchars
https://github.com/python/cpython/pull/{{ revealButtonHref }}
https://github.com/sileht
silehthttps://github.com/sileht
Jun 21, 2022https://github.com/python/cpython/pull/94050#issue-1278174069
Please reload this pagehttps://github.com/python/cpython/pull/94050
inspect.iscorutinefunction() returns False for unittest.mock.AsyncMock instances #84753https://github.com/python/cpython/issues/84753
Please reload this pagehttps://github.com/python/cpython/pull/94050
https://github.com/sileht
silehthttps://github.com/sileht
1st1https://github.com/1st1
asvetlovhttps://github.com/asvetlov
cjw296https://github.com/cjw296
code ownershttps://github.com/python/cpython/blob/c735d545343c3ab002c62596b2fb2cfa4488b0af/.github/CODEOWNERS#L8
June 21, 2022 09:36https://github.com/python/cpython/pull/94050#event-6845803547
https://github.com/ghost
ghosthttps://github.com/ghost
Jun 21, 2022https://github.com/python/cpython/pull/94050#issuecomment-1161505911
Please reload this pagehttps://github.com/python/cpython/pull/94050
https://cpython-clabot.herokuapp.com/signed-contributor-license-agreement?version=96a49432b8b111ec9bf5bfe9ad6c72c4
Please reload this pagehttps://github.com/python/cpython/pull/94050
https://github.com/bedevere-bot
bedevere-bothttps://github.com/bedevere-bot
awaiting review https://github.com/python/cpython/issues?q=state%3Aopen%20label%3A%22awaiting%20review%22
Jun 21, 2022https://github.com/python/cpython/pull/94050#event-6845803853
https://github.com/bedevere-bot
bedevere-bothttps://github.com/bedevere-bot
Jun 21, 2022https://github.com/python/cpython/pull/94050#issuecomment-1161505946
require a NEWS entryhttps://devguide.python.org/committing/#updating-news-and-what-s-new-in-python
blurb_ithttps://blurb-it.herokuapp.com
blurbhttps://pypi.org/project/blurb/
Please reload this pagehttps://github.com/python/cpython/pull/94050
https://github.com/sileht
silehthttps://github.com/sileht
force-pushedhttps://github.com/python/cpython/compare/a90d15d35b3e80534a93a23686ddea1bdbd602f3..69501833368d8a7e63cf145b7ed1524e266c994d
a90d15dhttps://github.com/python/cpython/commit/a90d15d35b3e80534a93a23686ddea1bdbd602f3
6950183https://github.com/python/cpython/commit/69501833368d8a7e63cf145b7ed1524e266c994d
Compare https://github.com/python/cpython/compare/a90d15d35b3e80534a93a23686ddea1bdbd602f3..69501833368d8a7e63cf145b7ed1524e266c994d
June 21, 2022 09:40https://github.com/python/cpython/pull/94050#event-6845839310
https://github.com/sileht
silehthttps://github.com/sileht
Jun 21, 2022https://github.com/python/cpython/pull/94050#issuecomment-1161512054
@vstinnerhttps://github.com/vstinner
Please reload this pagehttps://github.com/python/cpython/pull/94050
https://github.com/jd
jdhttps://github.com/jd
Jun 21, 2022 https://github.com/python/cpython/pull/94050#pullrequestreview-1013311850
View reviewed changes https://github.com/python/cpython/pull/94050/files
https://github.com/bedevere-bot
bedevere-bothttps://github.com/bedevere-bot
awaiting core review https://github.com/python/cpython/issues?q=state%3Aopen%20label%3A%22awaiting%20core%20review%22
awaiting review https://github.com/python/cpython/issues?q=state%3Aopen%20label%3A%22awaiting%20review%22
Jun 21, 2022https://github.com/python/cpython/pull/94050#event-6845951419
https://github.com/graingert
graingerthttps://github.com/graingert
Jun 21, 2022https://github.com/python/cpython/pull/94050#issuecomment-1161562813
cpython/Lib/unittest/mock.pyhttps://github.com/python/cpython/blob/5fcfdd87c9b5066a581d3ccb4b2fede938f343ec/Lib/unittest/mock.py#L2175-L2178
5fcfdd8https://github.com/python/cpython/commit/5fcfdd87c9b5066a581d3ccb4b2fede938f343ec
Please reload this pagehttps://github.com/python/cpython/pull/94050
https://github.com/cjw296
cjw296https://github.com/cjw296
Jun 21, 2022 https://github.com/python/cpython/pull/94050#pullrequestreview-1013370198
View reviewed changes https://github.com/python/cpython/pull/94050/files
Lib/inspect.pyhttps://github.com/python/cpython/pull/94050/files#diff-b89cd06e4637abacb73f2500301ff979a67ad7ecbfa7cf151c7243715898d7ea
cjw296https://github.com/cjw296
Jun 21, 2022https://github.com/python/cpython/pull/94050#discussion_r902455290
Learn morehttps://docs.github.com/articles/managing-disruptive-comments/#hiding-a-comment
Please reload this pagehttps://github.com/python/cpython/pull/94050
silehthttps://github.com/sileht
Jun 21, 2022https://github.com/python/cpython/pull/94050#discussion_r902475105
Learn morehttps://docs.github.com/articles/managing-disruptive-comments/#hiding-a-comment
Please reload this pagehttps://github.com/python/cpython/pull/94050
cjw296https://github.com/cjw296
Jun 21, 2022https://github.com/python/cpython/pull/94050#discussion_r902535094
Learn morehttps://docs.github.com/articles/managing-disruptive-comments/#hiding-a-comment
Please reload this pagehttps://github.com/python/cpython/pull/94050
https://github.com/sileht
silehthttps://github.com/sileht
force-pushedhttps://github.com/python/cpython/compare/69501833368d8a7e63cf145b7ed1524e266c994d..2dfabda9772c213cc12e5fa0dff17a435a7902df
6950183https://github.com/python/cpython/commit/69501833368d8a7e63cf145b7ed1524e266c994d
2dfabdahttps://github.com/python/cpython/commit/2dfabda9772c213cc12e5fa0dff17a435a7902df
Compare https://github.com/python/cpython/compare/69501833368d8a7e63cf145b7ed1524e266c994d..2dfabda9772c213cc12e5fa0dff17a435a7902df
June 21, 2022 11:04https://github.com/python/cpython/pull/94050#event-6846426871
https://github.com/sileht
silehthttps://github.com/sileht
Jun 21, 2022https://github.com/python/cpython/pull/94050#issuecomment-1161598993
cpython/Lib/unittest/mock.pyhttps://github.com/python/cpython/blob/5fcfdd87c9b5066a581d3ccb4b2fede938f343ec/Lib/unittest/mock.py#L2175-L2178
5fcfdd8https://github.com/python/cpython/commit/5fcfdd87c9b5066a581d3ccb4b2fede938f343ec
Please reload this pagehttps://github.com/python/cpython/pull/94050
https://github.com/graingert
graingerthttps://github.com/graingert
Jun 21, 2022https://github.com/python/cpython/pull/94050#issuecomment-1161614572
@graingerthttps://github.com/graingert
#84753 (comment)https://github.com/python/cpython/issues/84753#issuecomment-1161579686
Please reload this pagehttps://github.com/python/cpython/pull/94050
https://github.com/graingert
graingerthttps://github.com/graingert
Jun 21, 2022https://github.com/python/cpython/pull/94050#issuecomment-1161617119
Please reload this pagehttps://github.com/python/cpython/pull/94050
Please reload this pagehttps://github.com/python/cpython/pull/94050
https://github.com/sileht
silehthttps://github.com/sileht
Jun 24, 2022https://github.com/python/cpython/pull/94050#issuecomment-1165613935
Please reload this pagehttps://github.com/python/cpython/pull/94050
https://github.com/graingert
graingerthttps://github.com/graingert
Jun 24, 2022https://github.com/python/cpython/pull/94050#issuecomment-1165628239
Please reload this pagehttps://github.com/python/cpython/pull/94050
https://github.com/sileht
silehthttps://github.com/sileht
Jun 24, 2022https://github.com/python/cpython/pull/94050#issuecomment-1165637060
Please reload this pagehttps://github.com/python/cpython/pull/94050
https://github.com/sileht
silehthttps://github.com/sileht
Jun 24, 2022https://github.com/python/cpython/pull/94050#issuecomment-1165643458
Please reload this pagehttps://github.com/python/cpython/pull/94050
Please reload this pagehttps://github.com/python/cpython/pull/94050
https://github.com/sileht
silehthttps://github.com/sileht
force-pushedhttps://github.com/python/cpython/compare/2dfabda9772c213cc12e5fa0dff17a435a7902df..9c7050b0c3f59590aa1a261c86191e40180cb219
2dfabdahttps://github.com/python/cpython/commit/2dfabda9772c213cc12e5fa0dff17a435a7902df
9c7050bhttps://github.com/python/cpython/commit/9c7050b0c3f59590aa1a261c86191e40180cb219
Compare https://github.com/python/cpython/compare/2dfabda9772c213cc12e5fa0dff17a435a7902df..9c7050b0c3f59590aa1a261c86191e40180cb219
June 28, 2022 17:39https://github.com/python/cpython/pull/94050#event-6896085741
https://github.com/sileht
silehthttps://github.com/sileht
Jun 28, 2022https://github.com/python/cpython/pull/94050#issuecomment-1169030698
Please reload this pagehttps://github.com/python/cpython/pull/94050
https://github.com/sileht
silehthttps://github.com/sileht
force-pushedhttps://github.com/python/cpython/compare/9c7050b0c3f59590aa1a261c86191e40180cb219..bbae9f19ff50a5bbb91224b7bbd2e5c5f55fe537
9c7050bhttps://github.com/python/cpython/commit/9c7050b0c3f59590aa1a261c86191e40180cb219
bbae9f1https://github.com/python/cpython/commit/bbae9f19ff50a5bbb91224b7bbd2e5c5f55fe537
Compare https://github.com/python/cpython/compare/9c7050b0c3f59590aa1a261c86191e40180cb219..bbae9f19ff50a5bbb91224b7bbd2e5c5f55fe537
June 28, 2022 17:40https://github.com/python/cpython/pull/94050#event-6896094609
https://github.com/graingert
graingerthttps://github.com/graingert
Jun 28, 2022 https://github.com/python/cpython/pull/94050#pullrequestreview-1022165504
View reviewed changes https://github.com/python/cpython/pull/94050/files
Lib/test/test_inspect.pyhttps://github.com/python/cpython/pull/94050/files#diff-cd0b5ed704ccdad2d507d4f756ac2a9b391e0c9bbb5554baf851dbebd8b5e618
Please reload this pagehttps://github.com/python/cpython/pull/94050
https://github.com/sileht
silehthttps://github.com/sileht
force-pushedhttps://github.com/python/cpython/compare/fe4fc4e3f6a372bc78c46f0662d2f97ae998af77..970f727bf832b7a5a7b411f202464d6d6359f5db
fe4fc4ehttps://github.com/python/cpython/commit/fe4fc4e3f6a372bc78c46f0662d2f97ae998af77
970f727https://github.com/python/cpython/commit/970f727bf832b7a5a7b411f202464d6d6359f5db
Compare https://github.com/python/cpython/compare/fe4fc4e3f6a372bc78c46f0662d2f97ae998af77..970f727bf832b7a5a7b411f202464d6d6359f5db
June 28, 2022 17:56https://github.com/python/cpython/pull/94050#event-6896189595
https://github.com/vstinner
vstinnerhttps://github.com/vstinner
Jun 28, 2022 https://github.com/python/cpython/pull/94050#pullrequestreview-1022557370
View reviewed changes https://github.com/python/cpython/pull/94050/files
Lib/inspect.pyhttps://github.com/python/cpython/pull/94050/files#diff-b89cd06e4637abacb73f2500301ff979a67ad7ecbfa7cf151c7243715898d7ea
vstinnerhttps://github.com/vstinner
Jun 28, 2022https://github.com/python/cpython/pull/94050#discussion_r909060591
Learn morehttps://docs.github.com/articles/managing-disruptive-comments/#hiding-a-comment
Please reload this pagehttps://github.com/python/cpython/pull/94050
silehthttps://github.com/sileht
Jun 29, 2022https://github.com/python/cpython/pull/94050#discussion_r909264752
Learn morehttps://docs.github.com/articles/managing-disruptive-comments/#hiding-a-comment
Please reload this pagehttps://github.com/python/cpython/pull/94050
https://github.com/sileht
silehthttps://github.com/sileht
force-pushedhttps://github.com/python/cpython/compare/970f727bf832b7a5a7b411f202464d6d6359f5db..ceb50a1c9828719b83fc7a94d4f59b8ffa7e2f91
970f727https://github.com/python/cpython/commit/970f727bf832b7a5a7b411f202464d6d6359f5db
ceb50a1https://github.com/python/cpython/commit/ceb50a1c9828719b83fc7a94d4f59b8ffa7e2f91
Compare https://github.com/python/cpython/compare/970f727bf832b7a5a7b411f202464d6d6359f5db..ceb50a1c9828719b83fc7a94d4f59b8ffa7e2f91
June 29, 2022 06:58https://github.com/python/cpython/pull/94050#event-6899649339
https://github.com/ambv
ambvhttps://github.com/ambv
Jun 30, 2022https://github.com/python/cpython/pull/94050#event-6912318097
https://github.com/ambv
Make Blurb clearerhttps://github.com/python/cpython/pull/94050/commits/812d7f34c33ec612f29932eed129caaeee37c0a5
812d7f3https://github.com/python/cpython/pull/94050/commits/812d7f34c33ec612f29932eed129caaeee37c0a5
https://github.com/ambv
ambvhttps://github.com/ambv
needs backport to 3.10 https://github.com/python/cpython/issues?q=state%3Aopen%20label%3A%22needs%20backport%20to%203.10%22
needs backport to 3.11 https://github.com/python/cpython/issues?q=state%3Aopen%20label%3A%22needs%20backport%20to%203.11%22
Jun 30, 2022https://github.com/python/cpython/pull/94050#event-6912354693
https://github.com/ambv
ambvhttps://github.com/ambv
4261b6bhttps://github.com/python/cpython/commit/4261b6bffc0b8bb5c6d4d80578a81b7520f4aefc
Jun 30, 2022https://github.com/python/cpython/pull/94050#event-6912626833
https://github.com/bedevere-bot
bedevere-bothttps://github.com/bedevere-bot
awaiting merge https://github.com/python/cpython/issues?q=state%3Aopen%20label%3A%22awaiting%20merge%22
Jun 30, 2022https://github.com/python/cpython/pull/94050#event-6912627070
https://github.com/miss-islington
miss-islingtonhttps://github.com/miss-islington
Jun 30, 2022https://github.com/python/cpython/pull/94050#issuecomment-1171473734
@silehthttps://github.com/sileht
@ambvhttps://github.com/ambv
Please reload this pagehttps://github.com/python/cpython/pull/94050
miss-islingtonhttps://github.com/miss-islington
Jun 30, 2022 https://github.com/python/cpython/pull/94050#ref-commit-b382d0a
https://github.com/sileht
https://github.com/miss-islington
pythongh-84753https://github.com/python/cpython/issues/84753
: Make inspect.iscoroutinefunction() work with AsyncMock (https://github.com/miss-islington/cpython/commit/b382d0a6a3c41d1cb7aeb963f558bdf21000a8e5
b382d0ahttps://github.com/miss-islington/cpython/commit/b382d0a6a3c41d1cb7aeb963f558bdf21000a8e5
pythonGH-94050https://github.com/python/cpython/pull/94050
4261b6bhttps://github.com/miss-islington/cpython/commit/4261b6bffc0b8bb5c6d4d80578a81b7520f4aefc
https://github.com/bedevere-bot
bedevere-bothttps://github.com/bedevere-bot
Jun 30, 2022https://github.com/python/cpython/pull/94050#issuecomment-1171473973
GH-94460https://github.com/python/cpython/pull/94460
3.11 branchhttps://github.com/python/cpython/tree/3.11
Please reload this pagehttps://github.com/python/cpython/pull/94050
https://github.com/bedevere-bot
bedevere-bothttps://github.com/bedevere-bot
needs backport to 3.11 https://github.com/python/cpython/issues?q=state%3Aopen%20label%3A%22needs%20backport%20to%203.11%22
Jun 30, 2022https://github.com/python/cpython/pull/94050#event-6912628766
miss-islingtonhttps://github.com/miss-islington
Jun 30, 2022 https://github.com/python/cpython/pull/94050#ref-commit-c2879e4
https://github.com/sileht
https://github.com/miss-islington
pythongh-84753https://github.com/python/cpython/issues/84753
: Make inspect.iscoroutinefunction() work with AsyncMock (https://github.com/miss-islington/cpython/commit/c2879e4ae5edc39d948b2c41866253664e9778f7
c2879e4https://github.com/miss-islington/cpython/commit/c2879e4ae5edc39d948b2c41866253664e9778f7
pythonGH-94050https://github.com/python/cpython/pull/94050
4261b6bhttps://github.com/miss-islington/cpython/commit/4261b6bffc0b8bb5c6d4d80578a81b7520f4aefc
https://github.com/bedevere-bot
bedevere-bothttps://github.com/bedevere-bot
needs backport to 3.10 https://github.com/python/cpython/issues?q=state%3Aopen%20label%3A%22needs%20backport%20to%203.10%22
Jun 30, 2022https://github.com/python/cpython/pull/94050#event-6912629990
https://github.com/bedevere-bot
bedevere-bothttps://github.com/bedevere-bot
Jun 30, 2022https://github.com/python/cpython/pull/94050#issuecomment-1171474137
GH-94461https://github.com/python/cpython/pull/94461
3.10 branchhttps://github.com/python/cpython/tree/3.10
Please reload this pagehttps://github.com/python/cpython/pull/94050
https://github.com/sileht
silehthttps://github.com/sileht
Jun 30, 2022https://github.com/python/cpython/pull/94050#issuecomment-1171474711
Please reload this pagehttps://github.com/python/cpython/pull/94050
ambvhttps://github.com/ambv
Jun 30, 2022 https://github.com/python/cpython/pull/94050#ref-commit-47f23b2
https://github.com/miss-islington
https://github.com/sileht
gh-84753https://github.com/python/cpython/issues/84753
: Make inspect.iscoroutinefunction() work with AsyncMock (https://github.com/python/cpython/commit/47f23b2d8a14a2f182375c840776eadfc371c726
GH-…https://github.com/python/cpython/pull/94050
47f23b2https://github.com/python/cpython/commit/47f23b2d8a14a2f182375c840776eadfc371c726
…94050https://github.com/python/cpython/pull/94050
GH-94461https://github.com/python/cpython/pull/94461
4261b6bhttps://github.com/python/cpython/commit/4261b6bffc0b8bb5c6d4d80578a81b7520f4aefc
https://github.com/ambv
ambvhttps://github.com/ambv
Jun 30, 2022 https://github.com/python/cpython/pull/94050#ref-issue-1199036127
inspect.iscorutinefunction() returns False for unittest.mock.AsyncMock instances #84753 https://github.com/python/cpython/issues/84753
ambvhttps://github.com/ambv
Jun 30, 2022 https://github.com/python/cpython/pull/94050#ref-commit-9ebec7d
https://github.com/miss-islington
https://github.com/sileht
gh-84753https://github.com/python/cpython/issues/84753
: Make inspect.iscoroutinefunction() work with AsyncMock (https://github.com/python/cpython/commit/9ebec7d46cd52fff68507c291fde34fc865acfc4
GH-…https://github.com/python/cpython/pull/94050
9ebec7dhttps://github.com/python/cpython/commit/9ebec7d46cd52fff68507c291fde34fc865acfc4
…94050https://github.com/python/cpython/pull/94050
GH-94460https://github.com/python/cpython/pull/94460
4261b6bhttps://github.com/python/cpython/commit/4261b6bffc0b8bb5c6d4d80578a81b7520f4aefc
ambvhttps://github.com/ambv
Jul 5, 2022 https://github.com/python/cpython/pull/94050#ref-commit-18695d7
https://github.com/ambv
pythongh-84753https://github.com/python/cpython/issues/84753
: Clarify change made tohttps://github.com/ambv/cpython/commit/18695d76eae86547ab3599e98b81ae70791ae607
inspecthttps://github.com/ambv/cpython/commit/18695d76eae86547ab3599e98b81ae70791ae607
functionshttps://github.com/ambv/cpython/commit/18695d76eae86547ab3599e98b81ae70791ae607
18695d7https://github.com/ambv/cpython/commit/18695d76eae86547ab3599e98b81ae70791ae607
pythonGH-94050https://github.com/python/cpython/pull/94050
pythonGH-94050https://github.com/python/cpython/pull/94050
https://github.com/ambv
ambvhttps://github.com/ambv
Jul 5, 2022 https://github.com/python/cpython/pull/94050#ref-pullrequest-1294006643
gh-84753: Clarify change made to inspect functions #94554 https://github.com/python/cpython/pull/94554
https://github.com/graingert
graingerthttps://github.com/graingert
Jul 17, 2022 https://github.com/python/cpython/pull/94050#ref-issue-1306947476
make asyncio.iscoroutinefunction a deprecated alias of inspect.iscoroutinefunction and remove asyncio.coroutines._is_coroutine #94912 https://github.com/python/cpython/issues/94912
iscoroutine returns False for native coroutines in python 3.5+ cython/cython#2092 https://github.com/cython/cython/issues/2092
asyncio.iscoroutinefunction returns false for Cython async function objects cython/cython#2273 https://github.com/cython/cython/issues/2273
Make Cython async functions set CO_COROUTINE and CO_ASYNC_GENERATOR code flags cython/cython#4902 https://github.com/cython/cython/pull/4902
https://github.com/tirkarthi
tirkarthihttps://github.com/tirkarthi
Aug 23, 2022https://github.com/python/cpython/pull/94050#issuecomment-1224165373
#96127https://github.com/python/cpython/issues/96127
Please reload this pagehttps://github.com/python/cpython/pull/94050
https://github.com/sobolevn
sobolevnhttps://github.com/sobolevn
Aug 27, 2022 https://github.com/python/cpython/pull/94050#ref-pullrequest-1352974051
gh-96127: Fix inspect.signature call on mocks #96335 https://github.com/python/cpython/pull/96335
https://github.com/maximlt
maximlthttps://github.com/maximlt
Dec 22, 2023 https://github.com/python/cpython/pull/94050#ref-pullrequest-2050346746
Unpack partial in iscoroutinefunction holoviz/param#894 https://github.com/holoviz/param/pull/894
https://github.com/da-woods
da-woodshttps://github.com/da-woods
Mar 25, 2024 https://github.com/python/cpython/pull/94050#ref-issue-2195077315
[BUG] Generators after being cythonized cannot be inspect as generators cython/cython#6096 https://github.com/cython/cython/issues/6096
https://github.com/illia-v
illia-vhttps://github.com/illia-v
Nov 9, 2024 https://github.com/python/cpython/pull/94050#ref-issue-2458007086
Deprecate asyncio.iscoroutinefunction #122858 https://github.com/python/cpython/issues/122858
https://github.com/phillipuniverse
phillipuniversehttps://github.com/phillipuniverse
Nov 5, 2025 https://github.com/python/cpython/pull/94050#ref-pullrequest-3526278350
Replace asyncio.iscoroutinefunction with inspect.iscoroutinefunction open-telemetry/opentelemetry-python-contrib#3880 https://github.com/open-telemetry/opentelemetry-python-contrib/pull/3880
Sign up for freehttps://github.com/join?source=comment-repo
Sign in to commenthttps://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fpython%2Fcpython%2Fpull%2F94050
https://github.com/vstinner
vstinner https://github.com/vstinner
https://github.com/python/cpython/pull/94050/files/970f727bf832b7a5a7b411f202464d6d6359f5db
https://github.com/graingert
graingert https://github.com/graingert
https://github.com/python/cpython/pull/94050/files/bbae9f19ff50a5bbb91224b7bbd2e5c5f55fe537
https://github.com/cjw296
cjw296 https://github.com/cjw296
https://github.com/python/cpython/pull/94050/files/694627344a4732890ff87010312369fdcdf08b6f
https://github.com/1st1
1st1 https://github.com/1st1
https://github.com/asvetlov
asvetlov https://github.com/asvetlov
https://github.com/jd
jd https://github.com/jd
https://github.com/python/cpython/pull/94050/files/69501833368d8a7e63cf145b7ed1524e266c994d
Please reload this pagehttps://github.com/python/cpython/pull/94050
https://github.com/sileht
https://github.com/bedevere-bot
https://github.com/graingert
https://github.com/miss-islington
https://github.com/tirkarthi
https://github.com/jd
https://github.com/vstinner
https://github.com/cjw296
https://github.com/ambv
https://github.com
Termshttps://docs.github.com/site-policy/github-terms/github-terms-of-service
Privacyhttps://docs.github.com/site-policy/privacy-policies/github-privacy-statement
Securityhttps://github.com/security
Statushttps://www.githubstatus.com/
Communityhttps://github.community/
Docshttps://docs.github.com/
Contacthttps://support.github.com?tags=dotcom-footer

Viewport: width=device-width


URLs of crawlers that visited me.