René's URL Explorer Experiment


Title: bpo-17013: Extend Mock.called to allow waiting for calls by Kentzo · Pull Request #17133 · python/cpython · GitHub

Open Graph Title: bpo-17013: Extend Mock.called to allow waiting for calls by Kentzo · Pull Request #17133 · python/cpython

X Title: bpo-17013: Extend Mock.called to allow waiting for calls by Kentzo · Pull Request #17133 · python/cpython

Description: This implementation of bpo-17013 is alternative to #16094 Changes are based on my work for asynctest. Specifically on _AwaitEvent that was left out when related code was ported to CPython. Key feat...

Open Graph Description: This implementation of bpo-17013 is alternative to #16094 Changes are based on my work for asynctest. Specifically on _AwaitEvent that was left out when related code was ported to CPython. Key feat...

X Description: This implementation of bpo-17013 is alternative to #16094 Changes are based on my work for asynctest. Specifically on _AwaitEvent that was left out when related code was ported to CPython. Key feat...

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

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:429f17cd-a855-6ae1-36c3-1644ed4be157
current-catalog-service-hashae870bc5e265a340912cde392f23dad3671a0a881730ffdadd82f2f57d81641b
request-id8E84:7F7DE:27E7CD:3612AB:6969A924
html-safe-noncef489440f9d29786448acc9d0a610902cb2347823fbb97e5cbad3efb0f3a1e12a
visitor-payloadeyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiI4RTg0OjdGN0RFOjI3RTdDRDozNjEyQUI6Njk2OUE5MjQiLCJ2aXNpdG9yX2lkIjoiNTI0OTM2MTY5NTgyODcxNTgxMiIsInJlZ2lvbl9lZGdlIjoiaWFkIiwicmVnaW9uX3JlbmRlciI6ImlhZCJ9
visitor-hmac5bc816fdfc6c13afa5909531161b597ea83d05abbfaddace1ff0a218df701e89
hovercard-subject-tagpull_request:340134678
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/17133/pull_request_layout
twitter:imagehttps://opengraph.githubassets.com/f6c47b6d4c91e2e0bb80c86b463a94bc0ce377c8e4c9c3b008a397df826dc010/python/cpython/pull/17133
twitter:cardsummary_large_image
og:imagehttps://opengraph.githubassets.com/f6c47b6d4c91e2e0bb80c86b463a94bc0ce377c8e4c9c3b008a397df826dc010/python/cpython/pull/17133
og:image:altThis implementation of bpo-17013 is alternative to #16094 Changes are based on my work for asynctest. Specifically on _AwaitEvent that was left out when related code was ported to CPython. Key feat...
og:image:width1200
og:image:height600
og:site_nameGitHub
og:typeobject
og:author:usernameKentzo
hostnamegithub.com
expected-hostnamegithub.com
None24c4c97a2d520cb286b35e1a4c22d7a4df3c26a2fa28dd7cdf0e65db327b4de7
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
release124667f43168afb6c9c03b7c02eb5b1d2e1be3d9
ui-targetfull
theme-color#1e2327
color-schemelight dark

Links:

Skip to contenthttps://github.com/python/cpython/pull/17133#start-of-content
https://github.com/
Sign in https://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fpython%2Fcpython%2Fpull%2F17133
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%2F17133
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/17133
Reloadhttps://github.com/python/cpython/pull/17133
Reloadhttps://github.com/python/cpython/pull/17133
python https://github.com/python
cpythonhttps://github.com/python/cpython
Please reload this pagehttps://github.com/python/cpython/pull/17133
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/17133
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/17133#issue-comment-box
Kentzohttps://github.com/Kentzo
python:masterhttps://github.com/python/cpython/tree/master
GreatFruitOmsk:bpo-17013https://github.com/GreatFruitOmsk/cpython/tree/bpo-17013
bpo-17013: Extend Mock.called to allow waiting for calls https://github.com/python/cpython/pull/17133#top
Kentzohttps://github.com/Kentzo
python:masterhttps://github.com/python/cpython/tree/master
GreatFruitOmsk:bpo-17013https://github.com/GreatFruitOmsk/cpython/tree/bpo-17013
Conversation 16 https://github.com/python/cpython/pull/17133
Commits 1 https://github.com/python/cpython/pull/17133/commits
Checks 0 https://github.com/python/cpython/pull/17133/checks
Files changed https://github.com/python/cpython/pull/17133/files
Please reload this pagehttps://github.com/python/cpython/pull/17133
https://github.co/hiddenchars
https://github.com/python/cpython/pull/{{ revealButtonHref }}
https://github.com/Kentzo
Kentzohttps://github.com/Kentzo
Nov 12, 2019https://github.com/python/cpython/pull/17133#issue-521829264
Please reload this pagehttps://github.com/python/cpython/pull/17133
bpo-17013https://bugs.python.org/issue17013
#16094https://github.com/python/cpython/pull/16094
asynctesthttps://github.com/Martiusweb/asynctest
_AwaitEventhttps://github.com/Martiusweb/asynctest/pull/67
portedhttps://github.com/python/cpython/pull/9296
@vstinnerhttps://github.com/vstinner
@tirkarthihttps://github.com/tirkarthi
@mariocj89https://github.com/mariocj89
https://bugs.python.org/issue17013https://bugs.python.org/issue17013
Please reload this pagehttps://github.com/python/cpython/pull/17133
https://github.com/the-knights-who-say-ni
the-knights-who-say-nihttps://github.com/the-knights-who-say-ni
CLA signed https://github.com/python/cpython/issues?q=state%3Aopen%20label%3A%22CLA%20signed%22
Nov 12, 2019https://github.com/python/cpython/pull/17133#event-2793175037
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
Nov 12, 2019https://github.com/python/cpython/pull/17133#event-2793175087
https://github.com/Kentzo
Kentzohttps://github.com/Kentzo
Nov 13, 2019 https://github.com/python/cpython/pull/17133#ref-issue-521719936
Integrating with Python 3.8 Martiusweb/asynctest#144 https://github.com/Martiusweb/asynctest/issues/144
https://github.com/Kentzo
Kentzohttps://github.com/Kentzo
force-pushedhttps://github.com/python/cpython/compare/7c8ebff50e36cf76116a2876e7f17e9a080f4c84..eb981b4a860676799b52d8ad2e5aec33cfcc9e1f
7c8ebffhttps://github.com/python/cpython/commit/7c8ebff50e36cf76116a2876e7f17e9a080f4c84
eb981b4https://github.com/python/cpython/commit/eb981b4a860676799b52d8ad2e5aec33cfcc9e1f
Compare https://github.com/python/cpython/compare/7c8ebff50e36cf76116a2876e7f17e9a080f4c84..eb981b4a860676799b52d8ad2e5aec33cfcc9e1f
November 13, 2019 22:12https://github.com/python/cpython/pull/17133#event-2797009790
https://github.com/Kentzo
Kentzohttps://github.com/Kentzo
1st1https://github.com/1st1
asvetlovhttps://github.com/asvetlov
code ownershttps://github.com/python/cpython/blob/dad6be5ffe48beb74fad78cf758b886afddc7aed/.github/CODEOWNERS#L8
November 13, 2019 22:12https://github.com/python/cpython/pull/17133#event-2797009794
https://github.com/Kentzo
Kentzohttps://github.com/Kentzo
force-pushedhttps://github.com/python/cpython/compare/1c9de24fd3f758eff7d8685e819982d85ef3b808..fbe5422ba766c1dba748e1a9394126f071372e91
1c9de24https://github.com/python/cpython/commit/1c9de24fd3f758eff7d8685e819982d85ef3b808
fbe5422https://github.com/python/cpython/commit/fbe5422ba766c1dba748e1a9394126f071372e91
Compare https://github.com/python/cpython/compare/1c9de24fd3f758eff7d8685e819982d85ef3b808..fbe5422ba766c1dba748e1a9394126f071372e91
November 13, 2019 22:56https://github.com/python/cpython/pull/17133#event-2797116587
https://github.com/Kentzo
Kentzohttps://github.com/Kentzo
Nov 13, 2019https://github.com/python/cpython/pull/17133#issuecomment-553642988
Please reload this pagehttps://github.com/python/cpython/pull/17133
https://github.com/Kentzo
Kentzohttps://github.com/Kentzo
force-pushedhttps://github.com/python/cpython/compare/54b7b06b76d699f22d6eb9161c3eb716d2dd7a92..c740cb845ed6a758ac7c0640ce4e840c1dbfde18
54b7b06https://github.com/python/cpython/commit/54b7b06b76d699f22d6eb9161c3eb716d2dd7a92
c740cb8https://github.com/python/cpython/commit/c740cb845ed6a758ac7c0640ce4e840c1dbfde18
Compare https://github.com/python/cpython/compare/54b7b06b76d699f22d6eb9161c3eb716d2dd7a92..c740cb845ed6a758ac7c0640ce4e840c1dbfde18
November 14, 2019 07:26https://github.com/python/cpython/pull/17133#event-2797990038
https://github.com/Kentzo
bpo-17013: Extend Mock.called to allow waiting for callshttps://github.com/python/cpython/pull/17133/commits/eab4041b55a992d26520dfcf463cae96d9bf55cb
eab4041https://github.com/python/cpython/pull/17133/commits/eab4041b55a992d26520dfcf463cae96d9bf55cb
https://github.com/Kentzo
Kentzohttps://github.com/Kentzo
force-pushedhttps://github.com/python/cpython/compare/c740cb845ed6a758ac7c0640ce4e840c1dbfde18..eab4041b55a992d26520dfcf463cae96d9bf55cb
c740cb8https://github.com/python/cpython/commit/c740cb845ed6a758ac7c0640ce4e840c1dbfde18
eab4041https://github.com/python/cpython/commit/eab4041b55a992d26520dfcf463cae96d9bf55cb
Compare https://github.com/python/cpython/compare/c740cb845ed6a758ac7c0640ce4e840c1dbfde18..eab4041b55a992d26520dfcf463cae96d9bf55cb
November 14, 2019 16:56https://github.com/python/cpython/pull/17133#event-2799828073
https://github.com/mariocj89
mariocj89https://github.com/mariocj89
Nov 17, 2019https://github.com/python/cpython/pull/17133#issuecomment-554739427
@Kentzohttps://github.com/Kentzo
@voidspacehttps://github.com/voidspace
@lisroachhttps://github.com/lisroach
@tirkarthihttps://github.com/tirkarthi
Please reload this pagehttps://github.com/python/cpython/pull/17133
https://github.com/cjw296
cjw296https://github.com/cjw296
Jan 24, 2020https://github.com/python/cpython/pull/17133#issuecomment-578038913
@mariocj89https://github.com/mariocj89
Please reload this pagehttps://github.com/python/cpython/pull/17133
https://github.com/cjw296
cjw296https://github.com/cjw296
Jan 24, 2020https://github.com/python/cpython/pull/17133#event-2976442657
https://github.com/Kentzo
Kentzohttps://github.com/Kentzo
Jan 28, 2020https://github.com/python/cpython/pull/17133#issuecomment-579016985
@cjw296https://github.com/cjw296
Please reload this pagehttps://github.com/python/cpython/pull/17133
https://github.com/cjw296
cjw296https://github.com/cjw296
Jan 28, 2020https://github.com/python/cpython/pull/17133#issuecomment-579107028
https://bugs.python.org/issue17013#msg352211https://bugs.python.org/issue17013#msg352211
#16094https://github.com/python/cpython/pull/16094
@mariocj89https://github.com/mariocj89
@mariocj89https://github.com/mariocj89
@tirkarthihttps://github.com/tirkarthi
@voidspacehttps://github.com/voidspace
@lisroachhttps://github.com/lisroach
Please reload this pagehttps://github.com/python/cpython/pull/17133
https://github.com/mariocj89
mariocj89https://github.com/mariocj89
Jan 28, 2020https://github.com/python/cpython/pull/17133#issuecomment-579496968
@Kentzohttps://github.com/Kentzo
https://bugs.python.org/issue17013#msg352211https://bugs.python.org/issue17013#msg352211
@voidspacehttps://github.com/voidspace
@lisroachhttps://github.com/lisroach
@tirkarthihttps://github.com/tirkarthi
@voidspacehttps://github.com/voidspace
Please reload this pagehttps://github.com/python/cpython/pull/17133
https://github.com/Kentzo
Kentzohttps://github.com/Kentzo
Jan 29, 2020https://github.com/python/cpython/pull/17133#issuecomment-579582751
Please reload this pagehttps://github.com/python/cpython/pull/17133
https://github.com/mariocj89
mariocj89https://github.com/mariocj89
Jan 29, 2020https://github.com/python/cpython/pull/17133#issuecomment-579831757
why I suggested thathttps://github.com/python/cpython/pull/17133#issuecomment-554739427
Please reload this pagehttps://github.com/python/cpython/pull/17133
https://github.com/Kentzo
Kentzohttps://github.com/Kentzo
Apr 27, 2020https://github.com/python/cpython/pull/17133#issuecomment-619852352
Please reload this pagehttps://github.com/python/cpython/pull/17133
https://github.com/Kentzo
Kentzohttps://github.com/Kentzo
Apr 27, 2020 https://github.com/python/cpython/pull/17133#ref-pullrequest-493300726
gh-61215: New mock to wait for multi-threaded events to happen #16094 https://github.com/python/cpython/pull/16094
https://github.com/cjw296
cjw296https://github.com/cjw296
Apr 27, 2020https://github.com/python/cpython/pull/17133#issuecomment-619953502
@Kentzohttps://github.com/Kentzo
Please reload this pagehttps://github.com/python/cpython/pull/17133
https://github.com/Kentzo
Kentzohttps://github.com/Kentzo
Apr 27, 2020https://github.com/python/cpython/pull/17133#issuecomment-619959197
updatedhttps://github.com/GreatFruitOmsk/cpython/blob/427bbbd9bd6ed084630302c7e416d81fd27e4d17/Lib/unittest/mock.py#L2383-L2396
Please reload this pagehttps://github.com/python/cpython/pull/17133
https://github.com/Kentzo
Kentzohttps://github.com/Kentzo
Jun 7, 2020https://github.com/python/cpython/pull/17133#issuecomment-640251158
Please reload this pagehttps://github.com/python/cpython/pull/17133
https://github.com/cjw296
cjw296https://github.com/cjw296
Jun 8, 2020https://github.com/python/cpython/pull/17133#issuecomment-640930207
@mariocj89https://github.com/mariocj89
Please reload this pagehttps://github.com/python/cpython/pull/17133
https://github.com/mariocj89
mariocj89https://github.com/mariocj89
Jun 9, 2020https://github.com/python/cpython/pull/17133#issuecomment-641144270
#16094https://github.com/python/cpython/pull/16094
Please reload this pagehttps://github.com/python/cpython/pull/17133
https://github.com/Kentzo
Kentzohttps://github.com/Kentzo
Jun 9, 2020https://github.com/python/cpython/pull/17133#issuecomment-641239849
Please reload this pagehttps://github.com/python/cpython/pull/17133
@cjw296https://github.com/cjw296
#20759https://github.com/python/cpython/pull/20759
Please reload this pagehttps://github.com/python/cpython/pull/17133
https://github.com/Kentzo
Kentzohttps://github.com/Kentzo
Oct 21, 2020https://github.com/python/cpython/pull/17133#issuecomment-713638596
Please reload this pagehttps://github.com/python/cpython/pull/17133
https://github.com/pitrou
pitrouhttps://github.com/pitrou
Apr 10, 2022 https://github.com/python/cpython/pull/17133#ref-issue-1198893537
Allow waiting on a mock #61215 https://github.com/python/cpython/issues/61215
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%2F17133
https://github.com/1st1
1st1 https://github.com/1st1
https://github.com/asvetlov
asvetlov https://github.com/asvetlov
awaiting review https://github.com/python/cpython/issues?q=state%3Aopen%20label%3A%22awaiting%20review%22
Please reload this pagehttps://github.com/python/cpython/pull/17133
https://github.com/Kentzo
https://github.com/mariocj89
https://github.com/cjw296
https://github.com/the-knights-who-say-ni
https://github.com/bedevere-bot
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.