René's URL Explorer Experiment


Title: bpo-30587: Adds signature checking for mock autospec object method calls by claudiubelu · Pull Request #1982 · python/cpython · GitHub

Open Graph Title: bpo-30587: Adds signature checking for mock autospec object method calls by claudiubelu · Pull Request #1982 · python/cpython

X Title: bpo-30587: Adds signature checking for mock autospec object method calls by claudiubelu · Pull Request #1982 · python/cpython

Description: The Python programming language. Contribute to python/cpython development by creating an account on GitHub.

Open Graph Description: Mock can accept an spec object / class as argument, making sure that accessing attributes that do not exist in the spec will cause an AttributeError to be raised, but there is no guarantee that the...

X Description: Mock can accept an spec object / class as argument, making sure that accessing attributes that do not exist in the spec will cause an AttributeError to be raised, but there is no guarantee that the...

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

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:bfce8e6f-e061-3ea5-63cb-e5b90cf2b24d
current-catalog-service-hashae870bc5e265a340912cde392f23dad3671a0a881730ffdadd82f2f57d81641b
request-id9794:3D313E:444AAC:616AB4:6A5895C0
html-safe-noncec5783da71d5a16a190a3d626a14df5736ad0681cffbe148f757eac3754bc08ae
visitor-payloadeyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiI5Nzk0OjNEMzEzRTo0NDRBQUM6NjE2QUI0OjZBNTg5NUMwIiwidmlzaXRvcl9pZCI6Ijg1MTU5NzczNDg1OTYxNDM1NTIiLCJyZWdpb25fZWRnZSI6ImlhZCIsInJlZ2lvbl9yZW5kZXIiOiJpYWQifQ==
visitor-hmacb823c49cca4a057124a7fc84a966d72d68ee1be411a8d9aa1a50ed0d42bf998a
hovercard-subject-tagpull_request:124400638
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/1982/pull_request_layout
twitter:imagehttps://opengraph.githubassets.com/7a7f113ba41eaee427bb54a76136bb76c2389e0444638f3231ad9212a24dee66/python/cpython/pull/1982
twitter:cardsummary_large_image
og:imagehttps://opengraph.githubassets.com/7a7f113ba41eaee427bb54a76136bb76c2389e0444638f3231ad9212a24dee66/python/cpython/pull/1982
og:image:altMock can accept an spec object / class as argument, making sure that accessing attributes that do not exist in the spec will cause an AttributeError to be raised, but there is no guarantee that the...
og:image:width1200
og:image:height600
og:site_nameGitHub
og:typeobject
og:author:usernameclaudiubelu
hostnamegithub.com
expected-hostnamegithub.com
None5f2a0c7865178af3d91dd9f13b0cdfc3c73a2529c873d2780bb4c01271a57ec6
turbo-cache-controlno-cache
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
release8aae7b8d6caacacf5c66eaeb2702d8dc88d85b4a
ui-targetfull
theme-color#1e2327
color-schemelight dark

Links:

Skip to contenthttps://github.com/python/cpython/pull/1982#start-of-content
https://github.com/
Sign in https://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fpython%2Fcpython%2Fpull%2F1982
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%2F1982
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/1982
Reloadhttps://github.com/python/cpython/pull/1982
Reloadhttps://github.com/python/cpython/pull/1982
Please reload this pagehttps://github.com/python/cpython/pull/1982
python https://github.com/python
cpythonhttps://github.com/python/cpython
Please reload this pagehttps://github.com/python/cpython/pull/1982
Notifications https://github.com/login?return_to=%2Fpython%2Fcpython
Fork 35k https://github.com/login?return_to=%2Fpython%2Fcpython
Star 73.8k 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.3k https://github.com/python/cpython/pulls
Actions https://github.com/python/cpython/actions
Projects https://github.com/python/cpython/projects
Security and quality 0 https://github.com/python/cpython/security
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 and quality https://github.com/python/cpython/security
Insights https://github.com/python/cpython/pulse
claudiubeluhttps://github.com/claudiubelu
python:mainhttps://github.com/python/cpython/tree/main
claudiubelu:mock-add-autospechttps://github.com/claudiubelu/cpython/tree/mock-add-autospec
Conversationhttps://github.com/python/cpython/pull/1982
Commits4 (4)https://github.com/python/cpython/pull/1982/commits
Checkshttps://github.com/python/cpython/pull/1982/checks
Files changedhttps://github.com/python/cpython/pull/1982/files
bpo-30587: Adds signature checking for mock autospec object method callshttps://github.com/python/cpython/pull/1982#top
claudiubeluhttps://github.com/claudiubelu
python:mainhttps://github.com/python/cpython/tree/main
claudiubelu:mock-add-autospechttps://github.com/claudiubelu/cpython/tree/mock-add-autospec
https://github.com/claudiubelu
claudiubeluhttps://github.com/claudiubelu
Jun 7, 2017https://github.com/python/cpython/pull/1982#issue-234182583
Please reload this pagehttps://github.com/python/cpython/pull/1982
https://bugs.python.org/issue30587https://bugs.python.org/issue30587
Please reload this pagehttps://github.com/python/cpython/pull/1982
https://github.com/the-knights-who-say-ni
the-knights-who-say-nihttps://github.com/the-knights-who-say-ni
Jun 7, 2017https://github.com/python/cpython/pull/1982#issuecomment-306771181
PSF contributor agreementhttps://www.python.org/psf/contrib/contrib-form/
bugs.python.orghttp://bugs.python.org/
the steps outlined in the CPython devguidehttps://cpython-devguide.readthedocs.io/pullrequest.html#licensing
Please reload this pagehttps://github.com/python/cpython/pull/1982
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
Jun 7, 2017https://github.com/python/cpython/pull/1982#event-1113498852
https://github.com/Mariatta
Mariattahttps://github.com/Mariatta
CLA not signed https://github.com/python/cpython/issues?q=state%3Aopen%20label%3A%22CLA%20not%20signed%22
Jun 8, 2017https://github.com/python/cpython/pull/1982#event-1116444738
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
Jun 8, 2017https://github.com/python/cpython/pull/1982#event-1116444748
https://github.com/Mariatta
Mariattahttps://github.com/Mariatta
Jun 8, 2017https://github.com/python/cpython/pull/1982#issuecomment-307257663
https://bugs.python.orghttps://bugs.python.org
Please reload this pagehttps://github.com/python/cpython/pull/1982
https://github.com/claudiubelu
claudiubeluhttps://github.com/claudiubelu
Jun 9, 2017https://github.com/python/cpython/pull/1982#issuecomment-307295984
Please reload this pagehttps://github.com/python/cpython/pull/1982
https://github.com/claudiubelu
claudiubeluhttps://github.com/claudiubelu
force-pushedhttps://github.com/python/cpython/compare/654dfca2a005ffc43b74fa5c5a7d0b58ce453fbb..92f492974be8edc52eab6574eb643a0639bfe069
654dfcahttps://github.com/python/cpython/commit/654dfca2a005ffc43b74fa5c5a7d0b58ce453fbb
92f4929https://github.com/python/cpython/commit/92f492974be8edc52eab6574eb643a0639bfe069
Compare https://github.com/python/cpython/compare/654dfca2a005ffc43b74fa5c5a7d0b58ce453fbb..92f492974be8edc52eab6574eb643a0639bfe069
June 9, 2017 05:08https://github.com/python/cpython/pull/1982#event-1116653897
https://github.com/claudiubelu
claudiubeluhttps://github.com/claudiubelu
Jun 9, 2017https://github.com/python/cpython/pull/1982#event-1116654896
https://github.com/claudiubelu
claudiubeluhttps://github.com/claudiubelu
force-pushedhttps://github.com/python/cpython/compare/90d48a024342658ff199e94efb91f959aac1f2b6..51a9270803e6a7f2f21c409a27cc335fd7bc25d1
90d48a0https://github.com/python/cpython/commit/90d48a024342658ff199e94efb91f959aac1f2b6
51a9270https://github.com/python/cpython/commit/51a9270803e6a7f2f21c409a27cc335fd7bc25d1
Compare https://github.com/python/cpython/compare/90d48a024342658ff199e94efb91f959aac1f2b6..51a9270803e6a7f2f21c409a27cc335fd7bc25d1
November 20, 2017 14:37https://github.com/python/cpython/pull/1982#event-1349988776
https://github.com/claudiubelu
claudiubeluhttps://github.com/claudiubelu
Nov 20, 2017https://github.com/python/cpython/pull/1982#issuecomment-345743058
@Mariattahttps://github.com/Mariatta
Please reload this pagehttps://github.com/python/cpython/pull/1982
https://github.com/claudiubelu
claudiubeluhttps://github.com/claudiubelu
force-pushedhttps://github.com/python/cpython/compare/51a9270803e6a7f2f21c409a27cc335fd7bc25d1..db74a6d75ad66da9c939d0779c6f419e52131488
51a9270https://github.com/python/cpython/commit/51a9270803e6a7f2f21c409a27cc335fd7bc25d1
db74a6dhttps://github.com/python/cpython/commit/db74a6d75ad66da9c939d0779c6f419e52131488
Compare https://github.com/python/cpython/compare/51a9270803e6a7f2f21c409a27cc335fd7bc25d1..db74a6d75ad66da9c939d0779c6f419e52131488
November 20, 2017 16:11https://github.com/python/cpython/pull/1982#event-1350194353
https://github.com/claudiubelu
claudiubeluhttps://github.com/claudiubelu
Nov 20, 2017 https://github.com/python/cpython/pull/1982#ref-pullrequest-275406957
bpo-32092: Mock patch fix autospec #4476 https://github.com/python/cpython/pull/4476
https://github.com/claudiubelu
bpo-30587: Adds signature checking for mock autospec object method callshttps://github.com/python/cpython/pull/1982/commits/13f993dfb81cad9279d0037b8ab148f841ea103a
13f993dhttps://github.com/python/cpython/pull/1982/commits/13f993dfb81cad9279d0037b8ab148f841ea103a
https://github.com/claudiubelu
claudiubeluhttps://github.com/claudiubelu
force-pushedhttps://github.com/python/cpython/compare/db74a6d75ad66da9c939d0779c6f419e52131488..13f993dfb81cad9279d0037b8ab148f841ea103a
db74a6dhttps://github.com/python/cpython/commit/db74a6d75ad66da9c939d0779c6f419e52131488
13f993dhttps://github.com/python/cpython/commit/13f993dfb81cad9279d0037b8ab148f841ea103a
Compare https://github.com/python/cpython/compare/db74a6d75ad66da9c939d0779c6f419e52131488..13f993dfb81cad9279d0037b8ab148f841ea103a
November 23, 2017 09:42https://github.com/python/cpython/pull/1982#event-1355457324
https://github.com/brettcannon
brettcannonhttps://github.com/brettcannon
awaiting review https://github.com/python/cpython/issues?q=state%3Aopen%20label%3A%22awaiting%20review%22
Feb 2, 2018https://github.com/python/cpython/pull/1982#event-1455984693
https://github.com/voidspace
voidspacehttps://github.com/voidspace
September 10, 2019 09:43https://github.com/python/cpython/pull/1982#event-2621603717
https://github.com/voidspace
voidspacehttps://github.com/voidspace
Sep 10, 2019https://github.com/python/cpython/pull/1982#issuecomment-529859026
Please reload this pagehttps://github.com/python/cpython/pull/1982
https://github.com/voidspace
voidspacehttps://github.com/voidspace
Sep 10, 2019https://github.com/python/cpython/pull/1982#issuecomment-529874270
Please reload this pagehttps://github.com/python/cpython/pull/1982
https://github.com/ben-reilly
ben-reillyhttps://github.com/ben-reilly
Nov 6, 2019https://github.com/python/cpython/pull/1982#issuecomment-550543617
@voidspacehttps://github.com/voidspace
Please reload this pagehttps://github.com/python/cpython/pull/1982
https://github.com/apps/github-actions
github-actionshttps://github.com/apps/github-actions
Feb 19, 2022https://github.com/python/cpython/pull/1982#issuecomment-1045398573
Please reload this pagehttps://github.com/python/cpython/pull/1982
https://github.com/apps/github-actions
github-actionshttps://github.com/apps/github-actions
stale https://github.com/python/cpython/issues?q=state%3Aopen%20label%3Astale
Feb 19, 2022https://github.com/python/cpython/pull/1982#event-6103479662
https://github.com/MaxwellDupre
MaxwellDuprehttps://github.com/MaxwellDupre
Mar 16, 2022https://github.com/python/cpython/pull/1982#issuecomment-1069118620
Please reload this pagehttps://github.com/python/cpython/pull/1982
https://github.com/apps/github-actions
github-actionshttps://github.com/apps/github-actions
stale https://github.com/python/cpython/issues?q=state%3Aopen%20label%3Astale
Mar 17, 2022https://github.com/python/cpython/pull/1982#event-6254714350
https://github.com/apps/github-actions
github-actionshttps://github.com/apps/github-actions
Apr 16, 2022https://github.com/python/cpython/pull/1982#issuecomment-1100478368
Please reload this pagehttps://github.com/python/cpython/pull/1982
https://github.com/apps/github-actions
github-actionshttps://github.com/apps/github-actions
stale https://github.com/python/cpython/issues?q=state%3Aopen%20label%3Astale
Apr 16, 2022https://github.com/python/cpython/pull/1982#event-6442679429
https://github.com/python/cpython/pull/1982
bclauhttps://github.com/python/cpython/pull/1982
Apr 10, 2022 https://github.com/python/cpython/pull/1982#ref-issue-1198974470
Mock with spec object does not ensure method call signatures #74772 https://github.com/python/cpython/issues/74772
https://github.com/ezio-melotti
ezio-melottihttps://github.com/ezio-melotti
CLA signed https://github.com/python/cpython/issues?q=state%3Aopen%20label%3A%22CLA%20signed%22
Jul 13, 2022https://github.com/python/cpython/pull/1982#event-6988866076
https://github.com/apps/github-actions
github-actionshttps://github.com/apps/github-actions
stale https://github.com/python/cpython/issues?q=state%3Aopen%20label%3Astale
Jul 28, 2022https://github.com/python/cpython/pull/1982#event-7077258483
https://github.com/apps/github-actions
github-actionshttps://github.com/apps/github-actions
Aug 28, 2022https://github.com/python/cpython/pull/1982#issuecomment-1229344166
Please reload this pagehttps://github.com/python/cpython/pull/1982
https://github.com/apps/github-actions
github-actionshttps://github.com/apps/github-actions
stale https://github.com/python/cpython/issues?q=state%3Aopen%20label%3Astale
Aug 28, 2022https://github.com/python/cpython/pull/1982#event-7272711546
https://github.com/arhadthedev
Merge branch 'main' into mock-add-autospechttps://github.com/python/cpython/pull/1982/commits/2aa359d4919d132fef6080842e0932a6a10125b1
2aa359dhttps://github.com/python/cpython/pull/1982/commits/2aa359d4919d132fef6080842e0932a6a10125b1
https://github.com/arhadthedev
arhadthedevhttps://github.com/arhadthedev
cjw296https://github.com/cjw296
code ownerhttps://github.com/python/cpython/blob/90d85a9b4136aa1feb02f88aab614a3c29f20ed3/.github/CODEOWNERS#L105
February 5, 2023 17:11https://github.com/python/cpython/pull/1982#event-8440779446
https://github.com/arhadthedev
arhadthedevhttps://github.com/arhadthedev
Feb 5, 2023https://github.com/python/cpython/pull/1982#issuecomment-1418179460
@voidspacehttps://github.com/voidspace
Please reload this pagehttps://github.com/python/cpython/pull/1982
https://github.com/arhadthedev
Fix a merge errorhttps://github.com/python/cpython/pull/1982/commits/2e5cbc5e3d4ef5308b4fea487031b8e512af16f6
2e5cbc5https://github.com/python/cpython/pull/1982/commits/2e5cbc5e3d4ef5308b4fea487031b8e512af16f6
https://github.com/apps/github-actions
github-actionshttps://github.com/apps/github-actions
stale https://github.com/python/cpython/issues?q=state%3Aopen%20label%3Astale
Feb 6, 2023https://github.com/python/cpython/pull/1982#event-8442212188
https://github.com/apps/github-actions
github-actionshttps://github.com/apps/github-actions
Mar 8, 2023https://github.com/python/cpython/pull/1982#issuecomment-1459064438
Please reload this pagehttps://github.com/python/cpython/pull/1982
https://github.com/apps/github-actions
github-actionshttps://github.com/apps/github-actions
stale https://github.com/python/cpython/issues?q=state%3Aopen%20label%3Astale
Mar 8, 2023https://github.com/python/cpython/pull/1982#event-8691696949
https://github.com/arhadthedev
arhadthedevhttps://github.com/arhadthedev
Mar 22, 2023https://github.com/python/cpython/pull/1982#issuecomment-1479317089
@sobolevnhttps://github.com/sobolevn
Please reload this pagehttps://github.com/python/cpython/pull/1982
https://github.com/sobolevn
sobolevnhttps://github.com/sobolevn
March 22, 2023 12:11https://github.com/python/cpython/pull/1982#event-8816095727
https://github.com/sobolevn
Merge branch 'main' into mock-add-autospechttps://github.com/python/cpython/pull/1982/commits/4ecd60aef8f1813ed3356f2e7e60efb5cfe40594
4ecd60ahttps://github.com/python/cpython/pull/1982/commits/4ecd60aef8f1813ed3356f2e7e60efb5cfe40594
https://github.com/apps/github-actions
github-actionshttps://github.com/apps/github-actions
stale https://github.com/python/cpython/issues?q=state%3Aopen%20label%3Astale
Mar 23, 2023https://github.com/python/cpython/pull/1982#event-8822184668
https://github.com/apps/github-actions
github-actionshttps://github.com/apps/github-actions
Apr 23, 2023https://github.com/python/cpython/pull/1982#issuecomment-1518901781
Please reload this pagehttps://github.com/python/cpython/pull/1982
https://github.com/apps/github-actions
github-actionshttps://github.com/apps/github-actions
stale https://github.com/python/cpython/issues?q=state%3Aopen%20label%3Astale
Apr 23, 2023https://github.com/python/cpython/pull/1982#event-9073925344
https://github.com/cjw296
cjw296https://github.com/cjw296
Apr 23, 2023https://github.com/python/cpython/pull/1982#issuecomment-1519137647
@arhadthedevhttps://github.com/arhadthedev
@claudiubeluhttps://github.com/claudiubelu
#74772https://github.com/python/cpython/issues/74772
Please reload this pagehttps://github.com/python/cpython/pull/1982
https://github.com/cjw296
cjw296https://github.com/cjw296
Apr 23, 2023https://github.com/python/cpython/pull/1982#event-9075402426
https://github.com/claudiubelu
claudiubeluhttps://github.com/claudiubelu
Jul 7, 2024https://github.com/python/cpython/pull/1982#issuecomment-2212471174
Please reload this pagehttps://github.com/python/cpython/pull/1982
https://github.com/claudiubelu
claudiubeluhttps://github.com/claudiubelu
Jul 22, 2024 https://github.com/python/cpython/pull/1982#ref-pullrequest-2423167877
gh-74772: Adds signature checking for mock autospec object method calls #122128 https://github.com/python/cpython/pull/122128
https://github.co/hiddenchars
https://github.com/python/cpython/pull/{{ revealButtonHref }}
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%2F1982
https://github.com/voidspace
voidspace https://github.com/voidspace
https://github.com/cjw296
cjw296 https://github.com/cjw296
https://github.com/sobolevn
sobolevn https://github.com/sobolevn
awaiting review https://github.com/python/cpython/issues?q=state%3Aopen%20label%3A%22awaiting%20review%22
stale https://github.com/python/cpython/issues?q=state%3Aopen%20label%3Astale
Please reload this pagehttps://github.com/python/cpython/pull/1982
https://github.com/claudiubelu
https://github.com/the-knights-who-say-ni
https://github.com/Mariatta
https://github.com/voidspace
https://github.com/ben-reilly
https://github.com/MaxwellDupre
https://github.com/arhadthedev
https://github.com/cjw296
https://github.com/brettcannon
https://github.com/ezio-melotti
https://github.com/sobolevn
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.