René's URL Explorer Experiment


Title: Fix mock patch.dict stub and add mock stub by rbtcollins · Pull Request #2173 · python/typeshed · GitHub

Open Graph Title: Fix mock patch.dict stub and add mock stub by rbtcollins · Pull Request #2173 · python/typeshed

X Title: Fix mock patch.dict stub and add mock stub by rbtcollins · Pull Request #2173 · python/typeshed

Description: Collection of library stubs for Python, with static types - Fix mock patch.dict stub and add mock stub by rbtcollins · Pull Request #2173 · python/typeshed

Open Graph Description: The dict stub was referring to an instance, not the type, leading to call being considered when using as a decorator, rather than init. mock is a backport of the stdlib module and should be defined...

X Description: The dict stub was referring to an instance, not the type, leading to call being considered when using as a decorator, rather than init. mock is a backport of the stdlib module and should be defined...

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

X: @github

direct link

Domain: github.com

react-profiling0
react-import-mapreact,react-dom,react-dom/client,react-dom/profiling,react-is,react/compiler-runtime,react/jsx-dev-runtime,react/jsx-runtime,scheduler@b8488ee2c322
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:94994d10-ed2d-0e3d-6236-f1b623fcf2d4
current-catalog-service-hashae870bc5e265a340912cde392f23dad3671a0a881730ffdadd82f2f57d81641b
request-idB1C4:302FC:B9E17C:F85E66:6B004B87
html-safe-nonced8b36cb5b01b9df17b33042c96787c3ec164c3608d645c0efa8d66a581a1158d
visitor-payloadeyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJCMUM0OjMwMkZDOkI5RTE3QzpGODVFNjY6NkIwMDRCODciLCJ2aXNpdG9yX2lkIjoiMjIyMjQ4OTQ5NDA2ODY3NzUxMSIsInJlZ2lvbl9lZGdlIjoiaWFkIiwicmVnaW9uX3JlbmRlciI6ImlhZCJ9
visitor-hmac4797888ae29aaf9e74dc81e263384bd3916e2dfc34bad6f34b514aabff696aae
hovercard-subject-tagpull_request:191299767
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/2173/pull_request_layout
twitter:imagehttps://opengraph.githubassets.com/9bfa25606447b5c5fc7d65659267f13944510f9fac561d32a75ba49db0ad6299/python/typeshed/pull/2173
twitter:cardsummary_large_image
og:imagehttps://opengraph.githubassets.com/9bfa25606447b5c5fc7d65659267f13944510f9fac561d32a75ba49db0ad6299/python/typeshed/pull/2173
og:image:altThe dict stub was referring to an instance, not the type, leading to call being considered when using as a decorator, rather than init. mock is a backport of the stdlib module and should be defined...
og:image:width1200
og:image:height600
og:site_nameGitHub
og:typeobject
og:author:usernamerbtcollins
hostnamegithub.com
expected-hostnamegithub.com
Nonef9517bf360d46638a1e5e7daee7158842fe5ef43c9000afa0e127564a7c2f39b
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
releaseb27c5dde30676028abd5c5fc53ce5c9b625f8281
ui-targetcanary-2
theme-color#1e2327
color-schemelight dark
react-app-namepull-requests

Links:

Skip to contenthttps://github.com/python/typeshed/pull/2173#start-of-content
https://github.com/
Sign inhttps://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fpython%2Ftypeshed%2Fpull%2F2173
GitHubRepository hosting, code review, and collaborationhttps://github.com/platform
CopilotAI coding agent for tasks, projects, and automated workhttps://github.com/features/copilot
ActionsCI/CD and automationhttps://github.com/features/actions
Code QualityQuality analysis, fixes, and enforcementhttps://github.com/features/code-quality
CodespacesCloud development environmentshttps://github.com/features/codespaces
Code SecurityVulnerability detection and remediationhttps://github.com/security/advanced-security/code-security
Secret ProtectionSecret scanning and leak preventionhttps://github.com/security/advanced-security/secret-protection
All Featureshttps://github.com/features
Documentationhttps://docs.github.com/en
Traininghttps://learn.github.com/skills
Certificationshttps://learn.github.com/credentials
Build with Copilothttps://github.com/features/ai
Customize Copilothttps://docs.github.com/en/copilot/how-tos/copilot-on-github/customize-copilot/customize-copilot-overview
Integrationshttps://github.com/marketplace
Trending reposhttps://github.com/trending
GitHub Sponsorshttps://github.com/open-source/sponsors
Developer articleshttps://github.com/resources/articles
ChangelogYour source for the latest features, improvements, and fixes across GitHub products, all in one place.https://github.blog/changelog/
Enterpriseshttps://github.com/enterprise
Teamhttps://github.com/team
Startupshttps://github.com/enterprise/startups
Nonprofitshttps://github.com/solutions/industry/nonprofits
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
See all industrieshttps://github.com/solutions/industry
Why GitHubhttps://github.com/why-github
Customer Storieshttps://github.com/customer-stories
Business insightshttps://github.com/solutions/executive-insights
Trust Centerhttps://github.com/trust-center
GitHub Advanced SecurityEnterprise-grade code securityhttps://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
Documentationhttps://docs.github.com/en
Resource centerhttps://github.com/resources
Bloghttps://github.blog/
Events & webinarshttps://github.com/resources/events
Community Forumhttps://github.com/orgs/community/discussions
Customer Storieshttps://github.com/customer-stories
Integrationshttps://github.com/marketplace
Customer supporthttps://help.github.com/
Traininghttps://learn.github.com/skills
GitHub Statushttps://www.githubstatus.com/
Abouthttps://github.com/about
Partnershttps://github.com/partners
Changeloghttps://github.blog/changelog/
GitHub UniverseThe event for developers, by developers — talks, workshops, and what’s next for GitHub.https://githubuniverse.com/
Pricinghttps://github.com/pricing
Sign inhttps://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fpython%2Ftypeshed%2Fpull%2F2173
Sign uphttps://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/2173
Reloadhttps://github.com/python/typeshed/pull/2173
Reloadhttps://github.com/python/typeshed/pull/2173
pythonhttps://github.com/python
typeshedhttps://github.com/python/typeshed
Codehttps://github.com/python/typeshed
Issues196 (196)https://github.com/python/typeshed/issues
Pull requests252 (252)https://github.com/python/typeshed/pulls
Actionshttps://github.com/python/typeshed/actions
Security and qualityhttps://github.com/python/typeshed/security
Insightshttps://github.com/python/typeshed/insights
https://github.com/python/typeshed
JelleZijlstrahttps://github.com/JelleZijlstra
python:masterhttps://github.com/python/typeshed/tree/master
rbtcollins:masterhttps://github.com/rbtcollins/typeshed/tree/master
Conversationhttps://github.com/python/typeshed/pull/2173
Commits1 (1)https://github.com/python/typeshed/pull/2173/commits
Checkshttps://github.com/python/typeshed/pull/2173/checks
Files changedhttps://github.com/python/typeshed/pull/2173/files
Fix mock patch.dict stub and add mock stubhttps://github.com/python/typeshed/pull/2173#top
JelleZijlstrahttps://github.com/JelleZijlstra
python:masterhttps://github.com/python/typeshed/tree/master
rbtcollins:masterhttps://github.com/rbtcollins/typeshed/tree/master
https://github.com/rbtcollins
rbtcollinshttps://github.com/rbtcollins
May 29, 2018https://github.com/python/typeshed/pull/2173#issue-327526984
Please reload this pagehttps://github.com/python/typeshed/pull/2173
Please reload this pagehttps://github.com/python/typeshed/pull/2173
https://github.com/rbtcollins
rbtcollinshttps://github.com/rbtcollins
May 29, 2018 https://github.com/python/typeshed/pull/2173#ref-issue-327158858
patch.dict(x, y) interpreted as invoking __call__, not __init__ python/mypy#5118 https://github.com/python/mypy/issues/5118
https://github.com/JelleZijlstra
JelleZijlstrahttps://github.com/JelleZijlstra
May 29, 2018 https://github.com/python/typeshed/pull/2173#pullrequestreview-124212724
View reviewed changes https://github.com/python/typeshed/pull/2173/files
stdlib/3/unittest/mock.pyihttps://github.com/python/typeshed/pull/2173/files#diff-73d0936ed294eb643780501f7505a4215f33549124d15fb4629dfc96e8a0d81b
JelleZijlstrahttps://github.com/JelleZijlstra
May 29, 2018https://github.com/python/typeshed/pull/2173#discussion_r191609706
Learn morehttps://docs.github.com/articles/managing-disruptive-comments/#hiding-a-comment
Please reload this pagehttps://github.com/python/typeshed/pull/2173
https://github.com/rbtcollins
rbtcollinshttps://github.com/rbtcollins
force-pushedhttps://github.com/python/typeshed/compare/d7c5ff3378b1f515161b49e449d485b35649f87c..a0ab2e45638452b0cc37ce3503e2593b3e9e6d3b
d7c5ff3https://github.com/python/typeshed/commit/d7c5ff3378b1f515161b49e449d485b35649f87c
a0ab2e4https://github.com/python/typeshed/commit/a0ab2e45638452b0cc37ce3503e2593b3e9e6d3b
Compare https://github.com/python/typeshed/compare/d7c5ff3378b1f515161b49e449d485b35649f87c..a0ab2e45638452b0cc37ce3503e2593b3e9e6d3b
May 30, 2018 01:14https://github.com/python/typeshed/pull/2173#event-1652448343
Fix mock patch.dict stub and add mock stubhttps://github.com/python/typeshed/pull/2173/commits/7e8ae75c9556e43c5b36fadcd01615724604a618
7e8ae75https://github.com/python/typeshed/pull/2173/commits/7e8ae75c9556e43c5b36fadcd01615724604a618
https://github.com/rbtcollins
rbtcollinshttps://github.com/rbtcollins
force-pushedhttps://github.com/python/typeshed/compare/a0ab2e45638452b0cc37ce3503e2593b3e9e6d3b..7e8ae75c9556e43c5b36fadcd01615724604a618
a0ab2e4https://github.com/python/typeshed/commit/a0ab2e45638452b0cc37ce3503e2593b3e9e6d3b
7e8ae75https://github.com/python/typeshed/commit/7e8ae75c9556e43c5b36fadcd01615724604a618
Compare https://github.com/python/typeshed/compare/a0ab2e45638452b0cc37ce3503e2593b3e9e6d3b..7e8ae75c9556e43c5b36fadcd01615724604a618
May 30, 2018 06:42https://github.com/python/typeshed/pull/2173#event-1652751289
https://github.com/rbtcollins
rbtcollinshttps://github.com/rbtcollins
May 31, 2018https://github.com/python/typeshed/pull/2173#issuecomment-393710098
@JelleZijlstrahttps://github.com/JelleZijlstra
Please reload this pagehttps://github.com/python/typeshed/pull/2173
https://github.com/JelleZijlstra
JelleZijlstrahttps://github.com/JelleZijlstra
98badb6https://github.com/python/typeshed/commit/98badb6eff8f875666826e5d794d274f94fb3206
Jun 1, 2018https://github.com/python/typeshed/pull/2173#event-1657478113
https://github.com/JelleZijlstra
JelleZijlstrahttps://github.com/JelleZijlstra
Jun 1, 2018https://github.com/python/typeshed/pull/2173#issuecomment-393756556
Please reload this pagehttps://github.com/python/typeshed/pull/2173
https://github.com/rowillia
rowilliahttps://github.com/rowillia
Jun 5, 2018https://github.com/python/typeshed/pull/2173#issuecomment-394819364
@rbtcollinshttps://github.com/rbtcollins
@JelleZijlstrahttps://github.com/JelleZijlstra
Please reload this pagehttps://github.com/python/typeshed/pull/2173
https://github.com/rowillia
rowilliahttps://github.com/rowillia
Jun 5, 2018 https://github.com/python/typeshed/pull/2173#pullrequestreview-126104069
View reviewed changes https://github.com/python/typeshed/pull/2173/files/7e8ae75c9556e43c5b36fadcd01615724604a618
third_party/2and3/mock.pyihttps://github.com/python/typeshed/pull/2173/files/7e8ae75c9556e43c5b36fadcd01615724604a618#diff-73cf88cc7a5ab6e96f241f4fa6e64aefe02692d239b82629cd04fbc204f1ff57
rowilliahttps://github.com/rowillia
Jun 5, 2018https://github.com/python/typeshed/pull/2173#discussion_r193181753
Learn morehttps://docs.github.com/articles/managing-disruptive-comments/#hiding-a-comment
Please reload this pagehttps://github.com/python/typeshed/pull/2173
JelleZijlstrahttps://github.com/JelleZijlstra
Jun 5, 2018https://github.com/python/typeshed/pull/2173#discussion_r193183724
Learn morehttps://docs.github.com/articles/managing-disruptive-comments/#hiding-a-comment
Please reload this pagehttps://github.com/python/typeshed/pull/2173
mxrhttps://github.com/mxr
Jun 5, 2018https://github.com/python/typeshed/pull/2173#discussion_r193223674
Learn morehttps://docs.github.com/articles/managing-disruptive-comments/#hiding-a-comment
#2201https://github.com/python/typeshed/pull/2201
Please reload this pagehttps://github.com/python/typeshed/pull/2173
https://github.com/mxr
mxrhttps://github.com/mxr
Jun 5, 2018 https://github.com/python/typeshed/pull/2173#ref-pullrequest-329626357
Remove Python 3.3 check in mock.pyi #2201 https://github.com/python/typeshed/pull/2201
https://github.com/gvanrossum
gvanrossumhttps://github.com/gvanrossum
Jun 12, 2018https://github.com/python/typeshed/pull/2173#issuecomment-396751608
@rbtcollinshttps://github.com/rbtcollins
@JelleZijlstrahttps://github.com/JelleZijlstra
@rowilliahttps://github.com/rowillia
Please reload this pagehttps://github.com/python/typeshed/pull/2173
https://github.com/JelleZijlstra
JelleZijlstrahttps://github.com/JelleZijlstra
Jun 12, 2018https://github.com/python/typeshed/pull/2173#issuecomment-396754218
Please reload this pagehttps://github.com/python/typeshed/pull/2173
https://github.com/gvanrossum
gvanrossumhttps://github.com/gvanrossum
Jun 12, 2018https://github.com/python/typeshed/pull/2173#issuecomment-396755034
Please reload this pagehttps://github.com/python/typeshed/pull/2173
https://github.com/gvanrossum
gvanrossumhttps://github.com/gvanrossum
Jun 13, 2018https://github.com/python/typeshed/pull/2173#issuecomment-397099816
Please reload this pagehttps://github.com/python/typeshed/pull/2173
https://github.com/JelleZijlstra
JelleZijlstrahttps://github.com/JelleZijlstra
Jun 13, 2018https://github.com/python/typeshed/pull/2173#issuecomment-397112589
Please reload this pagehttps://github.com/python/typeshed/pull/2173
https://github.com/gvanrossum
gvanrossumhttps://github.com/gvanrossum
Jun 13, 2018https://github.com/python/typeshed/pull/2173#issuecomment-397113998
Please reload this pagehttps://github.com/python/typeshed/pull/2173
https://github.com/ilevkivskyi
ilevkivskyihttps://github.com/ilevkivskyi
Jun 13, 2018https://github.com/python/typeshed/pull/2173#issuecomment-397120143
Please reload this pagehttps://github.com/python/typeshed/pull/2173
https://github.com/JelleZijlstra
JelleZijlstrahttps://github.com/JelleZijlstra
Jun 13, 2018https://github.com/python/typeshed/pull/2173#issuecomment-397120187
Please reload this pagehttps://github.com/python/typeshed/pull/2173
https://github.com/JelleZijlstra
JelleZijlstrahttps://github.com/JelleZijlstra
Jun 19, 2018 https://github.com/python/typeshed/pull/2173#ref-pullrequest-333710017
Change mock classes to Any values to avoid false positives #2255 https://github.com/python/typeshed/pull/2255
https://github.com/gvanrossum
gvanrossumhttps://github.com/gvanrossum
Jun 22, 2018 https://github.com/python/typeshed/pull/2173#ref-issue-335011057
IDEA: inheriting from 'Any' should create a new 'Any' type python/typing#567 https://github.com/python/typing/issues/567
PiDelporthttps://github.com/PiDelport
Jul 5, 2018 https://github.com/python/typeshed/pull/2173#ref-commit-2eefb83
https://github.com/PiDelport
Ignore mock.patch.dict type, for nowhttps://github.com/PiDelport/django-environ-base/commit/2eefb83d85a40370bceffc3506c587e24b8f8bda
2eefb83https://github.com/PiDelport/django-environ-base/commit/2eefb83d85a40370bceffc3506c587e24b8f8bda
python/typeshed#2173https://github.com/python/typeshed/pull/2173
yedpodtrzitkohttps://github.com/yedpodtrzitko
Jan 23, 2019 https://github.com/python/typeshed/pull/2173#ref-commit-799263b
https://github.com/rbtcollins
Fix mock patch.dict stub and add mock stub (https://github.com/yedpodtrzitko/typeshed/commit/799263bb3ab6d5d655729f2be9bec2f50728e3eb
python#2173https://github.com/python/typeshed/pull/2173
)https://github.com/yedpodtrzitko/typeshed/commit/799263bb3ab6d5d655729f2be9bec2f50728e3eb
799263bhttps://github.com/yedpodtrzitko/typeshed/commit/799263bb3ab6d5d655729f2be9bec2f50728e3eb
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%2F2173
https://github.com/JelleZijlstra
JelleZijlstra https://github.com/JelleZijlstra
https://github.com/python/typeshed/pull/2173/files/7e8ae75c9556e43c5b36fadcd01615724604a618
https://github.com/mxr
mxr https://github.com/mxr
https://github.com/python/typeshed/pull/2173/files/7e8ae75c9556e43c5b36fadcd01615724604a618
https://github.com/rowillia
rowillia https://github.com/rowillia
https://github.com/python/typeshed/pull/2173/files/7e8ae75c9556e43c5b36fadcd01615724604a618
Please reload this pagehttps://github.com/python/typeshed/pull/2173
Please reload this pagehttps://github.com/python/typeshed/pull/2173
https://github.com/rbtcollins
https://github.com/JelleZijlstra
https://github.com/rowillia
https://github.com/gvanrossum
https://github.com/ilevkivskyi
https://github.com/mxr
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.