René's URL Explorer Experiment


Title: bpo-38122: minor fixes to AsyncMock spec handling by voidspace · Pull Request #16099 · python/cpython · GitHub

Open Graph Title: bpo-38122: minor fixes to AsyncMock spec handling by voidspace · Pull Request #16099 · python/cpython

X Title: bpo-38122: minor fixes to AsyncMock spec handling by voidspace · Pull Request #16099 · python/cpython

Description: Simplification of the spec handling for AsyncMock and correction for how spec_set is handled. https://bugs.python.org/issue38122

Open Graph Description: Simplification of the spec handling for AsyncMock and correction for how spec_set is handled. https://bugs.python.org/issue38122

X Description: Simplification of the spec handling for AsyncMock and correction for how spec_set is handled. https://bugs.python.org/issue38122

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

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:e0ffbdbe-d5b4-4328-3221-46bea87bd2ad
current-catalog-service-hashae870bc5e265a340912cde392f23dad3671a0a881730ffdadd82f2f57d81641b
request-idB3E6:247E0C:1513F1A:1D194F8:696AA38C
html-safe-nonce3b6e1c400719ddc351fc38094029c6c8dce85d4b19ba2f1a449840c76e712829
visitor-payloadeyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJCM0U2OjI0N0UwQzoxNTEzRjFBOjFEMTk0Rjg6Njk2QUEzOEMiLCJ2aXNpdG9yX2lkIjoiNDAyNzUyMjgxOTU3MjgwMjQ0NSIsInJlZ2lvbl9lZGdlIjoiaWFkIiwicmVnaW9uX3JlbmRlciI6ImlhZCJ9
visitor-hmac5c418782f54bc80ebf823609f6b1ef83fd64beffea76f8bdc8355a30fd7de962
hovercard-subject-tagpull_request:317320975
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/16099/pull_request_layout
twitter:imagehttps://opengraph.githubassets.com/013c43bc932542dc7410cd9448a27e4af706aff82ff134ba1722cb25b4238088/python/cpython/pull/16099
twitter:cardsummary_large_image
og:imagehttps://opengraph.githubassets.com/013c43bc932542dc7410cd9448a27e4af706aff82ff134ba1722cb25b4238088/python/cpython/pull/16099
og:image:altSimplification of the spec handling for AsyncMock and correction for how spec_set is handled. https://bugs.python.org/issue38122
og:image:width1200
og:image:height600
og:site_nameGitHub
og:typeobject
og:author:usernamevoidspace
hostnamegithub.com
expected-hostnamegithub.com
Nonea51f97dbb9326f71c08ecb61577457d543c602124d1a2672871258ef37ac5261
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
release4bd0eac606c70914085176ef312ebdcd97a8cdf1
ui-targetfull
theme-color#1e2327
color-schemelight dark

Links:

Skip to contenthttps://github.com/python/cpython/pull/16099#start-of-content
https://github.com/
Sign in https://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fpython%2Fcpython%2Fpull%2F16099
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%2F16099
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/16099
Reloadhttps://github.com/python/cpython/pull/16099
Reloadhttps://github.com/python/cpython/pull/16099
python https://github.com/python
cpythonhttps://github.com/python/cpython
Please reload this pagehttps://github.com/python/cpython/pull/16099
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/16099
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/16099#issue-comment-box
matrixisehttps://github.com/matrixise
python:masterhttps://github.com/python/cpython/tree/master
voidspace:minor-fixeshttps://github.com/voidspace/cpython/tree/minor-fixes
bpo-38122: minor fixes to AsyncMock spec handling https://github.com/python/cpython/pull/16099#top
matrixisehttps://github.com/matrixise
python:masterhttps://github.com/python/cpython/tree/master
voidspace:minor-fixeshttps://github.com/voidspace/cpython/tree/minor-fixes
Conversation 8 https://github.com/python/cpython/pull/16099
Commits 8 https://github.com/python/cpython/pull/16099/commits
Checks 0 https://github.com/python/cpython/pull/16099/checks
Files changed https://github.com/python/cpython/pull/16099/files
Please reload this pagehttps://github.com/python/cpython/pull/16099
https://github.co/hiddenchars
https://github.com/python/cpython/pull/{{ revealButtonHref }}
https://github.com/voidspace
voidspacehttps://github.com/voidspace
Sep 13, 2019https://github.com/python/cpython/pull/16099#issue-493319664
Please reload this pagehttps://github.com/python/cpython/pull/16099
https://bugs.python.org/issue38122https://bugs.python.org/issue38122
Please reload this pagehttps://github.com/python/cpython/pull/16099
voidspacehttps://github.com/voidspace
September 11, 2019 16:08https://github.com/python/cpython/pull/16099#commits-pushed-917d722
https://github.com/voidspace
Port tests from original PRhttps://github.com/python/cpython/pull/16099/commits/917d72234adad2351147d750f2ea597f534f70ff
917d722https://github.com/python/cpython/pull/16099/commits/917d72234adad2351147d750f2ea597f534f70ff
https://github.com/voidspace
Port tests from original PRhttps://github.com/python/cpython/pull/16099/commits/890795e5f06f3683f351c090ec376ea6ae6b4123
890795ehttps://github.com/python/cpython/pull/16099/commits/890795e5f06f3683f351c090ec376ea6ae6b4123
https://github.com/voidspace
Merge branch 'spec-signatures' ofhttps://github.com/python/cpython/pull/16099/commits/cfb1bb8d9a6192de870d99319a127ba6645e4c48
https://github.com/voidspace/cpythonhttps://github.com/voidspace/cpython
https://github.com/python/cpython/pull/16099/commits/cfb1bb8d9a6192de870d99319a127ba6645e4c48
cfb1bb8https://github.com/python/cpython/pull/16099/commits/cfb1bb8d9a6192de870d99319a127ba6645e4c48
https://github.com/voidspace
Minor fixeshttps://github.com/python/cpython/pull/16099/commits/9f8a081f07193cef4aa70bfec2b02cf0fac57bb5
9f8a081https://github.com/python/cpython/pull/16099/commits/9f8a081f07193cef4aa70bfec2b02cf0fac57bb5
https://github.com/voidspace
Remove extraneous testshttps://github.com/python/cpython/pull/16099/commits/327b33cc50cc72b2419cd32532af115808242315
327b33chttps://github.com/python/cpython/pull/16099/commits/327b33cc50cc72b2419cd32532af115808242315
https://github.com/voidspace
Remove extraneous testhttps://github.com/python/cpython/pull/16099/commits/6f058d9d69441b9fe9b6793aefa89f2182e78a45
6f058d9https://github.com/python/cpython/pull/16099/commits/6f058d9d69441b9fe9b6793aefa89f2182e78a45
https://github.com/the-knights-who-say-ni
the-knights-who-say-nihttps://github.com/the-knights-who-say-ni
Sep 13, 2019https://github.com/python/cpython/pull/16099#issuecomment-531232398
PSF contributor agreementhttps://www.python.org/psf/contrib/contrib-form/
bugs.python.orghttps://bugs.python.org/
@voidspacehttps://github.com/voidspace
the steps outlined in the CPython devguidehttps://devguide.python.org/pullrequest/#licensing
check yourselfhttps://check-python-cla.herokuapp.com/
Please reload this pagehttps://github.com/python/cpython/pull/16099
https://github.com/the-knights-who-say-ni
the-knights-who-say-nihttps://github.com/the-knights-who-say-ni
CLA not signed https://github.com/python/cpython/issues?q=state%3Aopen%20label%3A%22CLA%20not%20signed%22
Sep 13, 2019https://github.com/python/cpython/pull/16099#event-2632299855
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
Sep 13, 2019https://github.com/python/cpython/pull/16099#event-2632299936
https://github.com/voidspace
voidspacehttps://github.com/voidspace
lisroachhttps://github.com/lisroach
September 13, 2019 13:15https://github.com/python/cpython/pull/16099#event-2632300490
https://github.com/voidspace
voidspacehttps://github.com/voidspace
needs backport to 3.8 https://github.com/python/cpython/issues?q=state%3Aopen%20label%3A%22needs%20backport%20to%203.8%22
skip news https://github.com/python/cpython/issues?q=state%3Aopen%20label%3A%22skip%20news%22
Sep 13, 2019https://github.com/python/cpython/pull/16099#event-2632303640
https://github.com/lisroach
lisroachhttps://github.com/lisroach
Sep 13, 2019 https://github.com/python/cpython/pull/16099#pullrequestreview-288009557
View reviewed changes https://github.com/python/cpython/pull/16099/files/6f058d9d69441b9fe9b6793aefa89f2182e78a45
lisroachhttps://github.com/lisroach
https://github.com/python/cpython/pull/16099#pullrequestreview-288009557
Learn morehttps://docs.github.com/articles/managing-disruptive-comments/#hiding-a-comment
Please reload this pagehttps://github.com/python/cpython/pull/16099
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
awaiting core review https://github.com/python/cpython/issues?q=state%3Aopen%20label%3A%22awaiting%20core%20review%22
Sep 13, 2019https://github.com/python/cpython/pull/16099#event-2632305742
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
CLA not signed https://github.com/python/cpython/issues?q=state%3Aopen%20label%3A%22CLA%20not%20signed%22
Sep 13, 2019https://github.com/python/cpython/pull/16099#event-2632311856
https://github.com/matrixise
matrixisehttps://github.com/matrixise
Sep 13, 2019https://github.com/python/cpython/pull/16099#event-2632796657
voidspacehttps://github.com/voidspace
September 13, 2019 18:03https://github.com/python/cpython/pull/16099#commits-pushed-8c2ab3b
https://github.com/voidspace
Merge branch 'master' into minor-fixeshttps://github.com/python/cpython/pull/16099/commits/8c2ab3b9c1d80d5e318d7752f71aa21fef8aaaa8
8c2ab3bhttps://github.com/python/cpython/pull/16099/commits/8c2ab3b9c1d80d5e318d7752f71aa21fef8aaaa8
https://github.com/matrixise
Fix whitespacehttps://github.com/python/cpython/pull/16099/commits/fbc12ef19235a8a4b7e1f193b5fad3d515d7dce0
fbc12efhttps://github.com/python/cpython/pull/16099/commits/fbc12ef19235a8a4b7e1f193b5fad3d515d7dce0
https://github.com/matrixise
matrixisehttps://github.com/matrixise
14fd925https://github.com/python/cpython/commit/14fd925a18fe3db0922a7d798e373102fe7a8a9c
Sep 13, 2019https://github.com/python/cpython/pull/16099#event-2632929602
https://github.com/miss-islington
miss-islingtonhttps://github.com/miss-islington
Sep 13, 2019https://github.com/python/cpython/pull/16099#issuecomment-531308444
@voidspacehttps://github.com/voidspace
@matrixisehttps://github.com/matrixise
Please reload this pagehttps://github.com/python/cpython/pull/16099
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
Sep 13, 2019https://github.com/python/cpython/pull/16099#event-2632929700
https://github.com/miss-islington
miss-islingtonhttps://github.com/miss-islington
Sep 13, 2019https://github.com/python/cpython/pull/16099#issuecomment-531308470
@voidspacehttps://github.com/voidspace
@matrixisehttps://github.com/matrixise
cherry_pickerhttps://pypi.org/project/cherry-picker/
Please reload this pagehttps://github.com/python/cpython/pull/16099
https://github.com/miss-islington
miss-islingtonhttps://github.com/miss-islington
matrixisehttps://github.com/matrixise
Sep 13, 2019https://github.com/python/cpython/pull/16099#event-2632929953
https://github.com/matrixise
matrixisehttps://github.com/matrixise
Sep 14, 2019https://github.com/python/cpython/pull/16099#issuecomment-531456401
@voidspacehttps://github.com/voidspace
Please reload this pagehttps://github.com/python/cpython/pull/16099
matrixisehttps://github.com/matrixise
Sep 14, 2019 https://github.com/python/cpython/pull/16099#ref-commit-301d852
https://github.com/voidspace
https://github.com/matrixise
[3.8] bpo-38122: minor fixes to AsyncMock spec handling (https://github.com/matrixise/cpython/commit/301d852a6ca9ea008e8ca7b61c29a92cd77a193f
pythonGH-16099https://github.com/python/cpython/pull/16099
https://github.com/matrixise/cpython/commit/301d852a6ca9ea008e8ca7b61c29a92cd77a193f
301d852https://github.com/matrixise/cpython/commit/301d852a6ca9ea008e8ca7b61c29a92cd77a193f
14fd925https://github.com/matrixise/cpython/commit/14fd925a18fe3db0922a7d798e373102fe7a8a9c
https://github.com/bedevere-bot
bedevere-bothttps://github.com/bedevere-bot
Sep 14, 2019https://github.com/python/cpython/pull/16099#issuecomment-531457285
GH-16137https://github.com/python/cpython/pull/16137
3.8 branchhttps://github.com/python/cpython/tree/3.8
Please reload this pagehttps://github.com/python/cpython/pull/16099
https://github.com/bedevere-bot
bedevere-bothttps://github.com/bedevere-bot
needs backport to 3.8 https://github.com/python/cpython/issues?q=state%3Aopen%20label%3A%22needs%20backport%20to%203.8%22
Sep 14, 2019https://github.com/python/cpython/pull/16099#event-2633998866
https://github.com/matrixise
matrixisehttps://github.com/matrixise
Sep 14, 2019https://github.com/python/cpython/pull/16099#issuecomment-531458633
@voidspacehttps://github.com/voidspace
Please reload this pagehttps://github.com/python/cpython/pull/16099
https://github.com/tirkarthi
tirkarthihttps://github.com/tirkarthi
Dec 7, 2020 https://github.com/python/cpython/pull/16099#ref-pullrequest-755026060
bpo-42532: Check if NonCallableMock's spec_arg is not None instead of call its __bool__ function #23613 https://github.com/python/cpython/pull/23613
https://github.com/cjw296
cjw296https://github.com/cjw296
Dec 7, 2020https://github.com/python/cpython/pull/16099#issuecomment-739904284
@voidspacehttps://github.com/voidspace
https://bugs.python.org/issue38122https://bugs.python.org/issue38122
Please reload this pagehttps://github.com/python/cpython/pull/16099
https://github.com/lisroach
lisroachhttps://github.com/lisroach
Apr 10, 2022 https://github.com/python/cpython/pull/16099#ref-issue-1199019557
AsyncMock force always creating an AsyncMock for child mocks #82303 https://github.com/python/cpython/issues/82303
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%2F16099
https://github.com/lisroach
lisroach https://github.com/lisroach
https://github.com/python/cpython/pull/16099/files/6f058d9d69441b9fe9b6793aefa89f2182e78a45
https://github.com/matrixise
matrixise https://github.com/matrixise
skip news https://github.com/python/cpython/issues?q=state%3Aopen%20label%3A%22skip%20news%22
Please reload this pagehttps://github.com/python/cpython/pull/16099
https://github.com/voidspace
https://github.com/the-knights-who-say-ni
https://github.com/miss-islington
https://github.com/matrixise
https://github.com/bedevere-bot
https://github.com/cjw296
https://github.com/lisroach
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.