René's URL Explorer Experiment


Title: Fix @patch when `new` is missing by srittau · Pull Request #10459 · python/typeshed · GitHub

Open Graph Title: Fix @patch when `new` is missing by srittau · Pull Request #10459 · python/typeshed

X Title: Fix @patch when `new` is missing by srittau · Pull Request #10459 · python/typeshed

Description: Collection of library stubs for Python, with static types - Fix @patch when `new` is missing by srittau · Pull Request #10459 · python/typeshed

Open Graph Description: Closes: #10457

X Description: Closes: #10457

Opengraph URL: https://github.com/python/typeshed/pull/10459

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:41097a00-759e-eaf7-9492-f449f836b811
current-catalog-service-hashae870bc5e265a340912cde392f23dad3671a0a881730ffdadd82f2f57d81641b
request-idD200:12CDD6:771BAD:A0446E:6A610DD2
html-safe-noncec152907378407339fb2fba00fcae6a979481f0b5091fd8db85a445dbe5672648
visitor-payloadeyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJEMjAwOjEyQ0RENjo3NzFCQUQ6QTA0NDZFOjZBNjEwREQyIiwidmlzaXRvcl9pZCI6IjI4NTI0NzM4ODM5OTEyODExMDYiLCJyZWdpb25fZWRnZSI6ImlhZCIsInJlZ2lvbl9yZW5kZXIiOiJpYWQifQ==
visitor-hmac24c87cbe5fa502882d80e81861f0fe3a12c748aa36104f9d9d7a3265585c0654
hovercard-subject-tagpull_request:1433686518
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/typeshed/10459/pull_request_layout
twitter:imagehttps://opengraph.githubassets.com/b0736bf447b92ffbb20b166f1e1b69240f83181f4c58f0a0be9388cfe33b001a/python/typeshed/pull/10459
twitter:cardsummary_large_image
og:imagehttps://opengraph.githubassets.com/b0736bf447b92ffbb20b166f1e1b69240f83181f4c58f0a0be9388cfe33b001a/python/typeshed/pull/10459
og:image:altCloses: #10457
og:image:width1200
og:image:height600
og:site_nameGitHub
og:typeobject
og:author:usernamesrittau
hostnamegithub.com
expected-hostnamegithub.com
None86be97fd69ac233b46e43a5eed04ceac6498abe1efaf1af3b9573eb216019c05
turbo-cache-controlno-cache
go-importgithub.com/python/typeshed git https://github.com/python/typeshed.git
octolytics-dimension-user_id1525981
octolytics-dimension-user_loginpython
octolytics-dimension-repository_id31696383
octolytics-dimension-repository_nwopython/typeshed
octolytics-dimension-repository_publictrue
octolytics-dimension-repository_is_forkfalse
octolytics-dimension-repository_network_root_id31696383
octolytics-dimension-repository_network_root_nwopython/typeshed
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
releasef80280886562a52fe1f6b9cab9f9c1dc3b9a78a2
ui-targetfull
theme-color#1e2327
color-schemelight dark

Links:

Skip to contenthttps://github.com/python/typeshed/pull/10459#start-of-content
https://github.com/
Sign in https://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fpython%2Ftypeshed%2Fpull%2F10459
GitHub CopilotWrite better code with AIhttps://github.com/features/copilot
GitHub Copilot appDirect agents from issue to mergehttps://github.com/features/ai/github-app
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
Code QualityEnforce quality at mergehttps://github.com/features/code-quality
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
View all resourceshttps://github.com/resources
GitHub SponsorsFund open source developershttps://github.com/open-source/sponsors
Security Labhttps://securitylab.github.com
Maintainer Communityhttps://maintainers.github.com
Acceleratorhttps://github.com/open-source/accelerator
GitHub Starshttps://stars.github.com
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/enterprise/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%2Ftypeshed%2Fpull%2F10459
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%2Ftypeshed
Reloadhttps://github.com/python/typeshed/pull/10459
Reloadhttps://github.com/python/typeshed/pull/10459
Reloadhttps://github.com/python/typeshed/pull/10459
Please reload this pagehttps://github.com/python/typeshed/pull/10459
python https://github.com/python
typeshedhttps://github.com/python/typeshed
Please reload this pagehttps://github.com/python/typeshed/pull/10459
Notifications https://github.com/login?return_to=%2Fpython%2Ftypeshed
Fork 2.1k https://github.com/login?return_to=%2Fpython%2Ftypeshed
Star 5.1k https://github.com/login?return_to=%2Fpython%2Ftypeshed
Code https://github.com/python/typeshed
Issues 219 https://github.com/python/typeshed/issues
Pull requests 145 https://github.com/python/typeshed/pulls
Actions https://github.com/python/typeshed/actions
Security and quality 0 https://github.com/python/typeshed/security
Insights https://github.com/python/typeshed/pulse
Code https://github.com/python/typeshed
Issues https://github.com/python/typeshed/issues
Pull requests https://github.com/python/typeshed/pulls
Actions https://github.com/python/typeshed/actions
Security and quality https://github.com/python/typeshed/security
Insights https://github.com/python/typeshed/pulse
srittauhttps://github.com/srittau
python:mainhttps://github.com/python/typeshed/tree/main
srittau:unittest-patch-fixhttps://github.com/srittau/typeshed/tree/unittest-patch-fix
Conversationhttps://github.com/python/typeshed/pull/10459
Commits5 (5)https://github.com/python/typeshed/pull/10459/commits
Checkshttps://github.com/python/typeshed/pull/10459/checks
Files changedhttps://github.com/python/typeshed/pull/10459/files
Fix @patch when new is missinghttps://github.com/python/typeshed/pull/10459#top
srittauhttps://github.com/srittau
python:mainhttps://github.com/python/typeshed/tree/main
srittau:unittest-patch-fixhttps://github.com/srittau/typeshed/tree/unittest-patch-fix
https://github.com/srittau
srittauhttps://github.com/srittau
Jul 13, 2023https://github.com/python/typeshed/pull/10459#issue-1803650198
#10457https://github.com/python/typeshed/issues/10457
Please reload this pagehttps://github.com/python/typeshed/pull/10459
srittauhttps://github.com/srittau
July 13, 2023 21:33https://github.com/python/typeshed/pull/10459#commits-pushed-6a3fd7f
https://github.com/srittau
Fixhttps://github.com/python/typeshed/pull/10459/commits/6a3fd7ff61853d386bbacfcd8aa2d9366a033f1c
@patchhttps://github.com/patch
whenhttps://github.com/python/typeshed/pull/10459/commits/6a3fd7ff61853d386bbacfcd8aa2d9366a033f1c
newhttps://github.com/python/typeshed/pull/10459/commits/6a3fd7ff61853d386bbacfcd8aa2d9366a033f1c
is missinghttps://github.com/python/typeshed/pull/10459/commits/6a3fd7ff61853d386bbacfcd8aa2d9366a033f1c
6a3fd7fhttps://github.com/python/typeshed/pull/10459/commits/6a3fd7ff61853d386bbacfcd8aa2d9366a033f1c
python#10457https://github.com/python/typeshed/issues/10457
https://github.com/marketplace/pre-commit-ci
[pre-commit.ci] auto fixes from pre-commit.com hookshttps://github.com/python/typeshed/pull/10459/commits/355e9d5f9123839c2019ed996277bc536a0fe9f9
355e9d5https://github.com/python/typeshed/pull/10459/commits/355e9d5f9123839c2019ed996277bc536a0fe9f9
https://github.com/srittau
Add documentation for the hacks we usehttps://github.com/python/typeshed/pull/10459/commits/ddbacf781fd4541d04eb9cbb697c8ee465e9a20a
ddbacf7https://github.com/python/typeshed/pull/10459/commits/ddbacf781fd4541d04eb9cbb697c8ee465e9a20a
https://github.com/srittau
Rename test functionshttps://github.com/python/typeshed/pull/10459/commits/9641f88c59f812736b0561cbfaebcc73bf8b7222
9641f88https://github.com/python/typeshed/pull/10459/commits/9641f88c59f812736b0561cbfaebcc73bf8b7222
https://github.com/srittau
Fix _patch_default_new type arghttps://github.com/python/typeshed/pull/10459/commits/488dea521bf56ef9c0be80a82ac03fa73066bad8
488dea5https://github.com/python/typeshed/pull/10459/commits/488dea521bf56ef9c0be80a82ac03fa73066bad8
https://github.com/apps/github-actions
github-actionshttps://github.com/apps/github-actions
Jul 13, 2023https://github.com/python/typeshed/pull/10459#issuecomment-1634822228
mypy_primerhttps://github.com/hauntsaninja/mypy_primer
Please reload this pagehttps://github.com/python/typeshed/pull/10459
https://github.com/JukkaL
JukkaLhttps://github.com/JukkaL
Jul 14, 2023 https://github.com/python/typeshed/pull/10459#pullrequestreview-1530072231
View reviewed changes https://github.com/python/typeshed/pull/10459/files/488dea521bf56ef9c0be80a82ac03fa73066bad8
https://github.com/svalentin
svalentinhttps://github.com/svalentin
Jul 14, 2023https://github.com/python/typeshed/pull/10459#issuecomment-1635678933
Please reload this pagehttps://github.com/python/typeshed/pull/10459
https://github.com/AlexWaygood
AlexWaygoodhttps://github.com/AlexWaygood
Jul 14, 2023 https://github.com/python/typeshed/pull/10459#pullrequestreview-1530081108
View reviewed changes https://github.com/python/typeshed/pull/10459/files/488dea521bf56ef9c0be80a82ac03fa73066bad8
stdlib/unittest/mock.pyihttps://github.com/python/typeshed/pull/10459/files/488dea521bf56ef9c0be80a82ac03fa73066bad8#diff-aa6744de9f4c8917edccf35baece09184b4f9ed85f6303d7496f6249a9e7687c
AlexWaygoodhttps://github.com/AlexWaygood
Jul 14, 2023https://github.com/python/typeshed/pull/10459#discussion_r1263593719
Learn morehttps://docs.github.com/articles/managing-disruptive-comments/#hiding-a-comment
Please reload this pagehttps://github.com/python/typeshed/pull/10459
test_cases/stdlib/check_unittest.pyhttps://github.com/python/typeshed/pull/10459/files/488dea521bf56ef9c0be80a82ac03fa73066bad8#diff-e4210e1fbb8e2f7f39841197dad2da722cd4523567153df2e45a3714caec71e2
AlexWaygoodhttps://github.com/AlexWaygood
Jul 14, 2023https://github.com/python/typeshed/pull/10459#discussion_r1263594159
Learn morehttps://docs.github.com/articles/managing-disruptive-comments/#hiding-a-comment
#8083https://github.com/python/typeshed/pull/8083
Please reload this pagehttps://github.com/python/typeshed/pull/10459
https://github.com/srittau
srittauhttps://github.com/srittau
7ea173chttps://github.com/python/typeshed/commit/7ea173c4ad7e07c7c98907db4ac6da6ed7935251
Jul 14, 2023https://github.com/python/typeshed/pull/10459#event-9820671575
https://github.com/srittau
srittauhttps://github.com/srittau
July 14, 2023 10:53https://github.com/python/typeshed/pull/10459#event-9820673789
https://github.co/hiddenchars
https://github.com/python/typeshed/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%2Ftypeshed%2Fpull%2F10459
https://github.com/JukkaL
JukkaL https://github.com/JukkaL
https://github.com/python/typeshed/pull/10459/files/488dea521bf56ef9c0be80a82ac03fa73066bad8
https://github.com/AlexWaygood
AlexWaygood https://github.com/AlexWaygood
https://github.com/python/typeshed/pull/10459/files/488dea521bf56ef9c0be80a82ac03fa73066bad8
incorrect types for functions decorated with @mock.patch https://github.com/python/typeshed/issues/10457
Please reload this pagehttps://github.com/python/typeshed/pull/10459
https://github.com/srittau
https://github.com/svalentin
https://github.com/JukkaL
https://github.com/AlexWaygood
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.