René's URL Explorer Experiment


Title: get_type_hints(): find the right globalns for classes and modules by ambv · Pull Request #470 · python/typing · GitHub

Open Graph Title: get_type_hints(): find the right globalns for classes and modules by ambv · Pull Request #470 · python/typing

X Title: get_type_hints(): find the right globalns for classes and modules by ambv · Pull Request #470 · python/typing

Description: Python static typing home. Hosts the documentation and a user help forum. - get_type_hints(): find the right globalns for classes and modules by ambv · Pull Request #470 · python/typing

Open Graph Description: This makes the default behavior (without specifying globalns manually) more predictable for users. Implementation for classes assumes has a __module__ attribute and that module is present in sys.mo...

X Description: This makes the default behavior (without specifying globalns manually) more predictable for users. Implementation for classes assumes has a __module__ attribute and that module is present in sys.mo...

Opengraph URL: https://github.com/python/typing/pull/470

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:f950cf12-3b6d-f6c4-4d42-58b8f7e587c4
current-catalog-service-hashae870bc5e265a340912cde392f23dad3671a0a881730ffdadd82f2f57d81641b
request-idD410:21E5F:5268E8:6EB59D:6B00311F
html-safe-nonce7c45f19ea4f03ec4e885672300e96c7bf6562b0ee7df659bab157928d76047d8
visitor-payloadeyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJENDEwOjIxRTVGOjUyNjhFODo2RUI1OUQ6NkIwMDMxMUYiLCJ2aXNpdG9yX2lkIjoiODczOTY3MzY4OTM1NzgyNDI4NyIsInJlZ2lvbl9lZGdlIjoiaWFkIiwicmVnaW9uX3JlbmRlciI6ImlhZCJ9
visitor-hmac4dd5f40037b7b54ef17802dee319dce5721c389822be51eb8a15deffeb77424b
hovercard-subject-tagpull_request:140936778
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/typing/470/pull_request_layout
twitter:imagehttps://opengraph.githubassets.com/c3c392d1dd230db8dbde236a442d2cd62928bec99b24149ddde4bb5436c53035/python/typing/pull/470
twitter:cardsummary_large_image
og:imagehttps://opengraph.githubassets.com/c3c392d1dd230db8dbde236a442d2cd62928bec99b24149ddde4bb5436c53035/python/typing/pull/470
og:image:altThis makes the default behavior (without specifying globalns manually) more predictable for users. Implementation for classes assumes has a __module__ attribute and that module is present in sys.mo...
og:image:width1200
og:image:height600
og:site_nameGitHub
og:typeobject
og:author:usernameambv
hostnamegithub.com
expected-hostnamegithub.com
None7d0829bbde9e48b2486cb5dd6d147896eb01d32134627091f818958a935ef3f0
turbo-cache-controlno-cache
go-importgithub.com/python/typing git https://github.com/python/typing.git
octolytics-dimension-user_id1525981
octolytics-dimension-user_loginpython
octolytics-dimension-repository_id24604008
octolytics-dimension-repository_nwopython/typing
octolytics-dimension-repository_publictrue
octolytics-dimension-repository_is_forkfalse
octolytics-dimension-repository_network_root_id24604008
octolytics-dimension-repository_network_root_nwopython/typing
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
releasef3f3a43ca095cdea3abbb394112e971f9fdb94fa
ui-targetfull
theme-color#1e2327
color-schemelight dark
react-app-namepull-requests

Links:

Skip to contenthttps://github.com/python/typing/pull/470#start-of-content
https://github.com/
Sign inhttps://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fpython%2Ftyping%2Fpull%2F470
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%2Ftyping%2Fpull%2F470
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%2Ftyping
Reloadhttps://github.com/python/typing/pull/470
Reloadhttps://github.com/python/typing/pull/470
Reloadhttps://github.com/python/typing/pull/470
pythonhttps://github.com/python
typinghttps://github.com/python/typing
Codehttps://github.com/python/typing
Issues206 (206)https://github.com/python/typing/issues
Pull requests27 (27)https://github.com/python/typing/pulls
Discussionshttps://github.com/python/typing/discussions
Actionshttps://github.com/python/typing/actions
Security and qualityhttps://github.com/python/typing/security
Insightshttps://github.com/python/typing/insights
https://github.com/python/typing
ambvhttps://github.com/ambv
masterhttps://github.com/python/typing/tree/master
globalnsForClasseshttps://github.com/python/typing/tree/globalnsForClasses
Conversationhttps://github.com/python/typing/pull/470
Commits2 (2)https://github.com/python/typing/pull/470/commits
Checkshttps://github.com/python/typing/pull/470/checks
Files changedhttps://github.com/python/typing/pull/470/files
get_type_hints(): find the right globalns for classes and moduleshttps://github.com/python/typing/pull/470#top
ambvhttps://github.com/ambv
masterhttps://github.com/python/typing/tree/master
globalnsForClasseshttps://github.com/python/typing/tree/globalnsForClasses
https://github.com/ambv
ambvhttps://github.com/ambv
Sep 13, 2017https://github.com/python/typing/pull/470#issue-257529974
Please reload this pagehttps://github.com/python/typing/pull/470
Please reload this pagehttps://github.com/python/typing/pull/470
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/typing/issues?q=state%3Aopen%20label%3A%22CLA%20signed%22
Sep 13, 2017https://github.com/python/typing/pull/470#event-1248132145
https://github.com/ambv
ambvhttps://github.com/ambv
ilevkivskyihttps://github.com/ilevkivskyi
September 13, 2017 21:40https://github.com/python/typing/pull/470#event-1248132267
https://github.com/ambv
ambvhttps://github.com/ambv
force-pushedhttps://github.com/python/typing/compare/3e80ba770a324f5a8b367fcc7efb7dc18f5fb231..9378f798ef29f3194b9b18ca6815ed3a29b26c58
3e80ba7https://github.com/python/typing/commit/3e80ba770a324f5a8b367fcc7efb7dc18f5fb231
9378f79https://github.com/python/typing/commit/9378f798ef29f3194b9b18ca6815ed3a29b26c58
Compare https://github.com/python/typing/compare/3e80ba770a324f5a8b367fcc7efb7dc18f5fb231..9378f798ef29f3194b9b18ca6815ed3a29b26c58
September 13, 2017 21:47https://github.com/python/typing/pull/470#event-1248140941
https://github.com/ilevkivskyi
ilevkivskyihttps://github.com/ilevkivskyi
Sep 13, 2017 https://github.com/python/typing/pull/470#pullrequestreview-62592286
View reviewed changes https://github.com/python/typing/pull/470/files
src/typing.pyhttps://github.com/python/typing/pull/470/files#diff-ad6da8dfad5c336100410e57073641a0266b69e1801476d2b1e593b2c04f81f5
ilevkivskyihttps://github.com/ilevkivskyi
Sep 13, 2017https://github.com/python/typing/pull/470#discussion_r138753047
Please reload this pagehttps://github.com/python/typing/pull/470
Learn morehttps://docs.github.com/articles/managing-disruptive-comments/#hiding-a-comment
Please reload this pagehttps://github.com/python/typing/pull/470
ambvhttps://github.com/ambv
Sep 13, 2017https://github.com/python/typing/pull/470#discussion_r138753569
Learn morehttps://docs.github.com/articles/managing-disruptive-comments/#hiding-a-comment
Please reload this pagehttps://github.com/python/typing/pull/470
ambvhttps://github.com/ambv
Sep 13, 2017https://github.com/python/typing/pull/470#discussion_r138763802
Learn morehttps://docs.github.com/articles/managing-disruptive-comments/#hiding-a-comment
Please reload this pagehttps://github.com/python/typing/pull/470
https://github.com/ambv
ambvhttps://github.com/ambv
force-pushedhttps://github.com/python/typing/compare/9378f798ef29f3194b9b18ca6815ed3a29b26c58..7ca2449432bcf6225e9a6e0f19ae5b4c5c581923
9378f79https://github.com/python/typing/commit/9378f798ef29f3194b9b18ca6815ed3a29b26c58
7ca2449https://github.com/python/typing/commit/7ca2449432bcf6225e9a6e0f19ae5b4c5c581923
Compare https://github.com/python/typing/compare/9378f798ef29f3194b9b18ca6815ed3a29b26c58..7ca2449432bcf6225e9a6e0f19ae5b4c5c581923
September 13, 2017 23:05https://github.com/python/typing/pull/470#event-1248230604
https://github.com/ambv
ambvhttps://github.com/ambv
Sep 13, 2017https://github.com/python/typing/pull/470#event-1248232490
https://github.com/ambv
ambvhttps://github.com/ambv
Sep 13, 2017 https://github.com/python/typing/pull/470#pullrequestreview-62603300
View reviewed changes https://github.com/python/typing/pull/470/files
src/test_typing.pyhttps://github.com/python/typing/pull/470/files#diff-e618ee6a4894a62d9269e41c4dc836e31e8224cfb66b5be3b325f4798ec245e3
ambvhttps://github.com/ambv
Sep 13, 2017https://github.com/python/typing/pull/470#discussion_r138763236
Learn morehttps://docs.github.com/articles/managing-disruptive-comments/#hiding-a-comment
Please reload this pagehttps://github.com/python/typing/pull/470
ilevkivskyihttps://github.com/ilevkivskyi
Sep 14, 2017https://github.com/python/typing/pull/470#discussion_r138818285
Learn morehttps://docs.github.com/articles/managing-disruptive-comments/#hiding-a-comment
Please reload this pagehttps://github.com/python/typing/pull/470
natgaertnerhttps://github.com/natgaertner
May 10, 2019https://github.com/python/typing/pull/470#discussion_r283058646
Learn morehttps://docs.github.com/articles/managing-disruptive-comments/#hiding-a-comment
natgaertner/cpython@0cde103https://github.com/natgaertner/cpython/commit/0cde1032e14befe2cec21060a4dbebb891f51fc6
Please reload this pagehttps://github.com/python/typing/pull/470
get_type_hints(): find the right globalns for classes and moduleshttps://github.com/python/typing/pull/470/commits/8581ec217b5e0d198ca1f213d2c1e0bb82311b4b
8581ec2https://github.com/python/typing/pull/470/commits/8581ec217b5e0d198ca1f213d2c1e0bb82311b4b
https://github.com/ambv
ambvhttps://github.com/ambv
force-pushedhttps://github.com/python/typing/compare/7ca2449432bcf6225e9a6e0f19ae5b4c5c581923..8581ec217b5e0d198ca1f213d2c1e0bb82311b4b
7ca2449https://github.com/python/typing/commit/7ca2449432bcf6225e9a6e0f19ae5b4c5c581923
8581ec2https://github.com/python/typing/commit/8581ec217b5e0d198ca1f213d2c1e0bb82311b4b
Compare https://github.com/python/typing/compare/7ca2449432bcf6225e9a6e0f19ae5b4c5c581923..8581ec217b5e0d198ca1f213d2c1e0bb82311b4b
September 13, 2017 23:16https://github.com/python/typing/pull/470#event-1248240408
Make mods_generics_cache.py compatible with Python <3.6 againhttps://github.com/python/typing/pull/470/commits/4cc96aee42ce60deb34d22f899d01e06f4a2631f
4cc96aehttps://github.com/python/typing/pull/470/commits/4cc96aee42ce60deb34d22f899d01e06f4a2631f
https://github.com/ambv
ambvhttps://github.com/ambv
Sep 14, 2017 https://github.com/python/typing/pull/470#pullrequestreview-62612196
View reviewed changes https://github.com/python/typing/pull/470/files/4cc96aee42ce60deb34d22f899d01e06f4a2631f
src/mod_generics_cache.pyhttps://github.com/python/typing/pull/470/files/4cc96aee42ce60deb34d22f899d01e06f4a2631f#diff-e1b7fac78f9a7a36e1bb0aa8837ec54599fcfa7cb67062c5268bd340e93fd5b7
ambvhttps://github.com/ambv
Sep 14, 2017https://github.com/python/typing/pull/470#discussion_r138771383
Learn morehttps://docs.github.com/articles/managing-disruptive-comments/#hiding-a-comment
Please reload this pagehttps://github.com/python/typing/pull/470
https://github.com/ilevkivskyi
ilevkivskyihttps://github.com/ilevkivskyi
Sep 14, 2017 https://github.com/python/typing/pull/470#pullrequestreview-62663518
View reviewed changes https://github.com/python/typing/pull/470/files/4cc96aee42ce60deb34d22f899d01e06f4a2631f
src/test_typing.pyhttps://github.com/python/typing/pull/470/files#diff-e618ee6a4894a62d9269e41c4dc836e31e8224cfb66b5be3b325f4798ec245e3
ilevkivskyihttps://github.com/ilevkivskyi
Sep 14, 2017https://github.com/python/typing/pull/470#discussion_r138818285
Learn morehttps://docs.github.com/articles/managing-disruptive-comments/#hiding-a-comment
Please reload this pagehttps://github.com/python/typing/pull/470
https://github.com/ambv
ambvhttps://github.com/ambv
468b3fehttps://github.com/python/typing/commit/468b3fe965fac7b11c0c306fff19c6d56b169b7a
Sep 14, 2017https://github.com/python/typing/pull/470#event-1249698305
https://github.com/gvanrossum
gvanrossumhttps://github.com/gvanrossum
September 14, 2017 17:44https://github.com/python/typing/pull/470#event-1249704053
https://github.com/gvanrossum
gvanrossumhttps://github.com/gvanrossum
Sep 14, 2017https://github.com/python/typing/pull/470#issuecomment-329557351
Please reload this pagehttps://github.com/python/typing/pull/470
https://github.com/ambv
ambvhttps://github.com/ambv
Sep 14, 2017https://github.com/python/typing/pull/470#issuecomment-329557544
Please reload this pagehttps://github.com/python/typing/pull/470
https://github.com/ambv
ambvhttps://github.com/ambv
Sep 14, 2017https://github.com/python/typing/pull/470#issuecomment-329557867
Please reload this pagehttps://github.com/python/typing/pull/470
ambvhttps://github.com/ambv
Sep 14, 2017 https://github.com/python/typing/pull/470#ref-commit-6a9432b
bpo-28556: typing.get_type_hints: better globalns for classes and mod…https://github.com/ambv/cpython/commit/6a9432b13399d2e40bb8efedaac85d01f5e286b2
6a9432bhttps://github.com/ambv/cpython/commit/6a9432b13399d2e40bb8efedaac85d01f5e286b2
python/typing#470https://github.com/python/typing/pull/470
https://github.com/ambv
ambvhttps://github.com/ambv
Sep 14, 2017 https://github.com/python/typing/pull/470#ref-pullrequest-257807812
bpo-28556: typing.get_type_hints: better globalns for classes and modules python/cpython#3582 https://github.com/python/cpython/pull/3582
https://github.com/ilevkivskyi
ilevkivskyihttps://github.com/ilevkivskyi
Sep 14, 2017https://github.com/python/typing/pull/470#issuecomment-329569305
Please reload this pagehttps://github.com/python/typing/pull/470
https://github.com/miss-islington
miss-islingtonhttps://github.com/miss-islington
Sep 14, 2017 https://github.com/python/typing/pull/470#ref-pullrequest-257815284
[3.6] bpo-28556: typing.get_type_hints: better globalns for classes and modules (GH-3582) python/cpython#3583 https://github.com/python/cpython/pull/3583
miss-islingtonhttps://github.com/miss-islington
Sep 14, 2017 https://github.com/python/typing/pull/470#ref-commit-d0706da
https://github.com/ambv
https://github.com/miss-islington
[3.6] bpo-28556: typing.get_type_hints: better globalns for classes a…https://github.com/miss-islington/cpython/commit/d0706dac6538332460e774cd62a4156c0fc11a4b
d0706dahttps://github.com/miss-islington/cpython/commit/d0706dac6538332460e774cd62a4156c0fc11a4b
pythonGH-3582https://github.com/python/cpython/pull/3582
python/typing#470https://github.com/python/typing/pull/470
f350a26https://github.com/miss-islington/cpython/commit/f350a268a7071ce7d7a5bb86a9b1229782d4963b
ambvhttps://github.com/ambv
Sep 14, 2017 https://github.com/python/typing/pull/470#ref-commit-f350a26
https://github.com/ambv
bpo-28556https://bugs.python.org/issue?@action=redirect&bpo=28556
: typing.get_type_hints: better globalns for classes and mod…https://github.com/python/cpython/commit/f350a268a7071ce7d7a5bb86a9b1229782d4963b
f350a26https://github.com/python/cpython/commit/f350a268a7071ce7d7a5bb86a9b1229782d4963b
#3582https://github.com/python/cpython/pull/3582
python/typing#470https://github.com/python/typing/pull/470
ambvhttps://github.com/ambv
Sep 14, 2017 https://github.com/python/typing/pull/470#ref-commit-1658ec0
https://github.com/miss-islington
https://github.com/ambv
[3.6]https://github.com/python/cpython/commit/1658ec07577ef9696cea76fcf7fac2da18403ec5
bpo-28556https://bugs.python.org/issue?@action=redirect&bpo=28556
: typing.get_type_hints: better globalns for classes a…https://github.com/python/cpython/commit/1658ec07577ef9696cea76fcf7fac2da18403ec5
1658ec0https://github.com/python/cpython/commit/1658ec07577ef9696cea76fcf7fac2da18403ec5
GH-3582https://github.com/python/cpython/pull/3582
#3583https://github.com/python/cpython/pull/3583
python/typing#470https://github.com/python/typing/pull/470
f350a26https://github.com/python/cpython/commit/f350a268a7071ce7d7a5bb86a9b1229782d4963b
https://github.co/hiddenchars
https://github.com/python/typing/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%2Ftyping%2Fpull%2F470
https://github.com/ilevkivskyi
ilevkivskyi https://github.com/ilevkivskyi
https://github.com/python/typing/pull/470/files/4cc96aee42ce60deb34d22f899d01e06f4a2631f
https://github.com/natgaertner
natgaertner https://github.com/natgaertner
https://github.com/python/typing/pull/470/files/4cc96aee42ce60deb34d22f899d01e06f4a2631f
Please reload this pagehttps://github.com/python/typing/pull/470
CLA signed https://github.com/python/typing/issues?q=state%3Aopen%20label%3A%22CLA%20signed%22
Please reload this pagehttps://github.com/python/typing/pull/470
https://github.com/ambv
https://github.com/gvanrossum
https://github.com/ilevkivskyi
https://github.com/natgaertner
https://github.com/the-knights-who-say-ni
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.