René's URL Explorer Experiment


Title: Hide imported names in stubs unless 'as id' is used (PEP 484) by ilevkivskyi · Pull Request #3706 · python/mypy · GitHub

Open Graph Title: Hide imported names in stubs unless 'as id' is used (PEP 484) by ilevkivskyi · Pull Request #3706 · python/mypy

X Title: Hide imported names in stubs unless 'as id' is used (PEP 484) by ilevkivskyi · Pull Request #3706 · python/mypy

Description: Optional static typing for Python. Contribute to python/mypy development by creating an account on GitHub.

Open Graph Description: Fixes #2927 PEP 484 specifies that only names imported as from mod import name as name should be re-exported. However, mypy didn't follow this rule so that this code passed without errors but o...

X Description: Fixes #2927 PEP 484 specifies that only names imported as from mod import name as name should be re-exported. However, mypy didn't follow this rule so that this code passed without errors b...

Opengraph URL: https://github.com/python/mypy/pull/3706

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:5628a79d-e867-cdee-ff54-ea1a7737b178
current-catalog-service-hashae870bc5e265a340912cde392f23dad3671a0a881730ffdadd82f2f57d81641b
request-id823A:2A8280:19F3ED:247AB5:6B00568A
html-safe-noncee879828b29dbbeff71d7e4ab120c83356087a6da24c5d0416531e72835c41117
visitor-payloadeyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiI4MjNBOjJBODI4MDoxOUYzRUQ6MjQ3QUI1OjZCMDA1NjhBIiwidmlzaXRvcl9pZCI6IjI5MTIxMzg2NjM0Mzk2NTI0OTAiLCJyZWdpb25fZWRnZSI6ImlhZCIsInJlZ2lvbl9yZW5kZXIiOiJpYWQifQ==
visitor-hmac5d0ac83015ed2392252f180fb062f649f20be0933414c9f4808b3896c967d18a
hovercard-subject-tagpull_request:130170845
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/mypy/3706/pull_request_layout
twitter:imagehttps://opengraph.githubassets.com/4cc83987fcab7d132e3ee0a7f3bbe543160f5f1bf6d0cfeb0232e84e4daf7e87/python/mypy/pull/3706
twitter:cardsummary_large_image
og:imagehttps://opengraph.githubassets.com/4cc83987fcab7d132e3ee0a7f3bbe543160f5f1bf6d0cfeb0232e84e4daf7e87/python/mypy/pull/3706
og:image:altFixes #2927 PEP 484 specifies that only names imported as from mod import name as name should be re-exported. However, mypy didn't follow this rule so that this code passed without errors but o...
og:image:width1200
og:image:height600
og:site_nameGitHub
og:typeobject
og:author:usernameilevkivskyi
hostnamegithub.com
expected-hostnamegithub.com
Nonef420f4996e6b1ff1ccd6d7683f8134f4b5f0f8a50124c210dbfe7490e5644abb
turbo-cache-controlno-cache
go-importgithub.com/python/mypy git https://github.com/python/mypy.git
octolytics-dimension-user_id1525981
octolytics-dimension-user_loginpython
octolytics-dimension-repository_id7053637
octolytics-dimension-repository_nwopython/mypy
octolytics-dimension-repository_publictrue
octolytics-dimension-repository_is_forkfalse
octolytics-dimension-repository_network_root_id7053637
octolytics-dimension-repository_network_root_nwopython/mypy
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
release26e00df917aba0f128135dc073ea0c5e33a70d40
ui-targetfull
theme-color#1e2327
color-schemelight dark
react-app-namepull-requests

Links:

Skip to contenthttps://github.com/python/mypy/pull/3706#start-of-content
https://github.com/
Sign inhttps://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fpython%2Fmypy%2Fpull%2F3706
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%2Fmypy%2Fpull%2F3706
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%2Fmypy
Reloadhttps://github.com/python/mypy/pull/3706
Reloadhttps://github.com/python/mypy/pull/3706
Reloadhttps://github.com/python/mypy/pull/3706
pythonhttps://github.com/python
mypyhttps://github.com/python/mypy
Codehttps://github.com/python/mypy
Issues2.7k (2.7k)https://github.com/python/mypy/issues
Pull requests546 (546)https://github.com/python/mypy/pulls
Actionshttps://github.com/python/mypy/actions
Projectshttps://github.com/python/mypy/projects
Wikihttps://github.com/python/mypy/wiki
Security and qualityhttps://github.com/python/mypy/security
Insightshttps://github.com/python/mypy/insights
https://github.com/python/mypy
ilevkivskyihttps://github.com/ilevkivskyi
python:masterhttps://github.com/python/mypy/tree/master
ilevkivskyi:no-re-export-from-stubshttps://github.com/ilevkivskyi/mypy/tree/no-re-export-from-stubs
Conversationhttps://github.com/python/mypy/pull/3706
Commits16 (16)https://github.com/python/mypy/pull/3706/commits
Checkshttps://github.com/python/mypy/pull/3706/checks
Files changedhttps://github.com/python/mypy/pull/3706/files
Hide imported names in stubs unless 'as id' is used (PEP 484)https://github.com/python/mypy/pull/3706#top
ilevkivskyihttps://github.com/ilevkivskyi
python:masterhttps://github.com/python/mypy/tree/master
ilevkivskyi:no-re-export-from-stubshttps://github.com/ilevkivskyi/mypy/tree/no-re-export-from-stubs
https://github.com/ilevkivskyi
ilevkivskyihttps://github.com/ilevkivskyi
Jul 12, 2017https://github.com/python/mypy/pull/3706#issue-242424639
#2927https://github.com/python/mypy/issues/2927
Please reload this pagehttps://github.com/python/mypy/pull/3706
July 12, 2017 16:49https://github.com/python/mypy/pull/3706#commits-pushed-4086848
Hide imported names in stubs unless 'as id' is used (PEP 484)https://github.com/python/mypy/pull/3706/commits/40868483c9ebca6b1003ca929c4766d6fa9f4606
4086848https://github.com/python/mypy/pull/3706/commits/40868483c9ebca6b1003ca929c4766d6fa9f4606
Fix spelling in commenthttps://github.com/python/mypy/pull/3706/commits/bd2536b8f2918e75251c56a08c3fc881b24e2d3c
bd2536bhttps://github.com/python/mypy/pull/3706/commits/bd2536b8f2918e75251c56a08c3fc881b24e2d3c
https://github.com/gvanrossum
gvanrossumhttps://github.com/gvanrossum
Jul 12, 2017https://github.com/python/mypy/pull/3706#issuecomment-314811324
Please reload this pagehttps://github.com/python/mypy/pull/3706
https://github.com/ilevkivskyi
ilevkivskyihttps://github.com/ilevkivskyi
Jul 12, 2017https://github.com/python/mypy/pull/3706#issuecomment-314814491
Please reload this pagehttps://github.com/python/mypy/pull/3706
https://github.com/gvanrossum
gvanrossumhttps://github.com/gvanrossum
Jul 12, 2017https://github.com/python/mypy/pull/3706#issuecomment-314815426
Please reload this pagehttps://github.com/python/mypy/pull/3706
Fix logic with hidden nodeshttps://github.com/python/mypy/pull/3706/commits/c667d7991ab4bfe6a07d564902ad1b0df928201e
c667d79https://github.com/python/mypy/pull/3706/commits/c667d7991ab4bfe6a07d564902ad1b0df928201e
https://github.com/ilevkivskyi
ilevkivskyihttps://github.com/ilevkivskyi
Jul 12, 2017https://github.com/python/mypy/pull/3706#issuecomment-314831918
Please reload this pagehttps://github.com/python/mypy/pull/3706
https://github.com/ilevkivskyi
ilevkivskyihttps://github.com/ilevkivskyi
Jul 12, 2017https://github.com/python/mypy/pull/3706#issuecomment-314832883
Please reload this pagehttps://github.com/python/mypy/pull/3706
https://github.com/gvanrossum
gvanrossumhttps://github.com/gvanrossum
Jul 12, 2017https://github.com/python/mypy/pull/3706#issuecomment-314839100
Please reload this pagehttps://github.com/python/mypy/pull/3706
https://github.com/ilevkivskyi
Merge branch 'master' into no-re-export-from-stubshttps://github.com/python/mypy/pull/3706/commits/aa20fe5d775a455fb0cd3b503f6a8bbd6ac33615
aa20fe5https://github.com/python/mypy/pull/3706/commits/aa20fe5d775a455fb0cd3b503f6a8bbd6ac33615
https://github.com/ilevkivskyi
ilevkivskyihttps://github.com/ilevkivskyi
Jul 13, 2017 https://github.com/python/mypy/pull/3706#ref-pullrequest-242563525
Use 'as name' patter to re-export names from stubs (PEP 484) python/typeshed#1484 https://github.com/python/typeshed/pull/1484
https://github.com/ilevkivskyi
ilevkivskyihttps://github.com/ilevkivskyi
Jul 13, 2017https://github.com/python/mypy/pull/3706#issuecomment-314947167
@gvanrossumhttps://github.com/gvanrossum
python/typeshed#1484https://github.com/python/typeshed/pull/1484
Please reload this pagehttps://github.com/python/mypy/pull/3706
https://github.com/gvanrossum
gvanrossumhttps://github.com/gvanrossum
Jul 13, 2017https://github.com/python/mypy/pull/3706#issuecomment-314947527
Please reload this pagehttps://github.com/python/mypy/pull/3706
https://github.com/ilevkivskyi
ilevkivskyihttps://github.com/ilevkivskyi
Jul 13, 2017https://github.com/python/mypy/pull/3706#issuecomment-314947832
Please reload this pagehttps://github.com/python/mypy/pull/3706
July 12, 2017 19:07https://github.com/python/mypy/pull/3706#commits-pushed-8e51825
Fix lint in meantimehttps://github.com/python/mypy/pull/3706/commits/8e51825a12a616790cfea9d44316d4c9e8c4e2b7
8e51825https://github.com/python/mypy/pull/3706/commits/8e51825a12a616790cfea9d44316d4c9e8c4e2b7
Merge branch 'no-re-export-from-stubs' ofhttps://github.com/python/mypy/pull/3706/commits/5d67734286ef31f1e9e35be203509211cbe6e941
https://github.com/ilevkivs…https://github.com/ilevkivskyi/mypy
5d67734https://github.com/python/mypy/pull/3706/commits/5d67734286ef31f1e9e35be203509211cbe6e941
…kyi/mypyhttps://github.com/ilevkivskyi/mypy
Always re-export child moduleshttps://github.com/python/mypy/pull/3706/commits/8d9d5e26f7997579c1cf7bdcdc915c6ffe4a6bd5
8d9d5e2https://github.com/python/mypy/pull/3706/commits/8d9d5e26f7997579c1cf7bdcdc915c6ffe4a6bd5
Remove unnecessary parameterhttps://github.com/python/mypy/pull/3706/commits/f9f4ad727cc4ffe6a8bf50619f2d3316e7d3f9a0
f9f4ad7https://github.com/python/mypy/pull/3706/commits/f9f4ad727cc4ffe6a8bf50619f2d3316e7d3f9a0
Fix linthttps://github.com/python/mypy/pull/3706/commits/eb23885a8d78a914edb96a9c074b6b68909ef8d3
eb23885https://github.com/python/mypy/pull/3706/commits/eb23885a8d78a914edb96a9c074b6b68909ef8d3
https://github.com/ilevkivskyi
ilevkivskyihttps://github.com/ilevkivskyi
Jul 13, 2017https://github.com/python/mypy/pull/3706#issuecomment-315065685
python/typeshed#1484https://github.com/python/typeshed/pull/1484
Please reload this pagehttps://github.com/python/mypy/pull/3706
July 15, 2017 07:08https://github.com/python/mypy/pull/3706#commits-pushed-191a1c0
Add one more test (+minor simplification)https://github.com/python/mypy/pull/3706/commits/191a1c0165d125aeec726615c584d515e3c04aec
191a1c0https://github.com/python/mypy/pull/3706/commits/191a1c0165d125aeec726615c584d515e3c04aec
More minor simplificationshttps://github.com/python/mypy/pull/3706/commits/1e1001e1ec713506f9dfc0662d4653d03cf0e3e7
1e1001ehttps://github.com/python/mypy/pull/3706/commits/1e1001e1ec713506f9dfc0662d4653d03cf0e3e7
Don't mix the flagshttps://github.com/python/mypy/pull/3706/commits/92684bdd4cd0089ce32074323ac2d16a6f0d4e81
92684bdhttps://github.com/python/mypy/pull/3706/commits/92684bdd4cd0089ce32074323ac2d16a6f0d4e81
https://github.com/ilevkivskyi
ilevkivskyihttps://github.com/ilevkivskyi
Jul 15, 2017https://github.com/python/mypy/pull/3706#issuecomment-315537691
Please reload this pagehttps://github.com/python/mypy/pull/3706
ilevkivskyihttps://github.com/ilevkivskyi
July 18, 2017 22:47https://github.com/python/mypy/pull/3706#commits-pushed-1ce217a
https://github.com/ilevkivskyi
Merge branch 'master' into no-re-export-from-stubshttps://github.com/python/mypy/pull/3706/commits/1ce217a1408acc6abb183007e0006a1002c3ccc7
1ce217ahttps://github.com/python/mypy/pull/3706/commits/1ce217a1408acc6abb183007e0006a1002c3ccc7
https://github.com/ilevkivskyi
Merge branch 'master' into no-re-export-from-stubshttps://github.com/python/mypy/pull/3706/commits/72fbdda6dc056fddf6839541df8262f63d8c1ff4
72fbddahttps://github.com/python/mypy/pull/3706/commits/72fbdda6dc056fddf6839541df8262f63d8c1ff4
https://github.com/ilevkivskyi
ilevkivskyihttps://github.com/ilevkivskyi
Jul 20, 2017 https://github.com/python/mypy/pull/3706#ref-pullrequest-244321150
Support exported names starting with an underscore in __all__ #3746 https://github.com/python/mypy/pull/3746
https://github.com/ilevkivskyi
Merge branch 'master' into no-re-export-from-stubshttps://github.com/python/mypy/pull/3706/commits/e756a0d30d5b2758cbb599eafbf445bd60698502
e756a0dhttps://github.com/python/mypy/pull/3706/commits/e756a0d30d5b2758cbb599eafbf445bd60698502
https://github.com/emmatyping
emmatypinghttps://github.com/emmatyping
Jul 30, 2017 https://github.com/python/mypy/pull/3706#pullrequestreview-53104751
View reviewed changes https://github.com/python/mypy/pull/3706/files/e756a0d30d5b2758cbb599eafbf445bd60698502
emmatypinghttps://github.com/emmatyping
https://github.com/python/mypy/pull/3706#pullrequestreview-53104751
Learn morehttps://docs.github.com/articles/managing-disruptive-comments/#hiding-a-comment
Please reload this pagehttps://github.com/python/mypy/pull/3706
mypy/semanal.pyhttps://github.com/python/mypy/pull/3706/files/e756a0d30d5b2758cbb599eafbf445bd60698502#diff-f782aad4853edceb67a88efe43d2869579d075a77b8e8dd2add91e818a9fa164
emmatypinghttps://github.com/emmatyping
Jul 30, 2017https://github.com/python/mypy/pull/3706#discussion_r130251115
Learn morehttps://docs.github.com/articles/managing-disruptive-comments/#hiding-a-comment
Please reload this pagehttps://github.com/python/mypy/pull/3706
https://github.com/ilevkivskyi
Address CRhttps://github.com/python/mypy/pull/3706/commits/9d7d0c768ad8cd5518d18d6f6d9e809b1a21f950
9d7d0c7https://github.com/python/mypy/pull/3706/commits/9d7d0c768ad8cd5518d18d6f6d9e809b1a21f950
https://github.com/emmatyping
emmatypinghttps://github.com/emmatyping
Jul 30, 2017 https://github.com/python/mypy/pull/3706#pullrequestreview-53109246
View reviewed changes https://github.com/python/mypy/pull/3706/files/9d7d0c768ad8cd5518d18d6f6d9e809b1a21f950
emmatypinghttps://github.com/emmatyping
https://github.com/python/mypy/pull/3706#pullrequestreview-53109246
Learn morehttps://docs.github.com/articles/managing-disruptive-comments/#hiding-a-comment
Please reload this pagehttps://github.com/python/mypy/pull/3706
https://github.com/ilevkivskyi
ilevkivskyihttps://github.com/ilevkivskyi
Jul 31, 2017https://github.com/python/mypy/pull/3706#issuecomment-319085814
@gvanrossumhttps://github.com/gvanrossum
Please reload this pagehttps://github.com/python/mypy/pull/3706
https://github.com/gvanrossum
gvanrossumhttps://github.com/gvanrossum
Jul 31, 2017https://github.com/python/mypy/pull/3706#issuecomment-319153887
Please reload this pagehttps://github.com/python/mypy/pull/3706
https://github.com/gvanrossum
gvanrossumhttps://github.com/gvanrossum
Jul 31, 2017 https://github.com/python/mypy/pull/3706#pullrequestreview-53310929
View reviewed changes https://github.com/python/mypy/pull/3706/files/9d7d0c768ad8cd5518d18d6f6d9e809b1a21f950
gvanrossumhttps://github.com/gvanrossum
https://github.com/python/mypy/pull/3706#pullrequestreview-53310929
Learn morehttps://docs.github.com/articles/managing-disruptive-comments/#hiding-a-comment
Please reload this pagehttps://github.com/python/mypy/pull/3706
https://github.com/ilevkivskyi
ilevkivskyihttps://github.com/ilevkivskyi
c87e413https://github.com/python/mypy/commit/c87e41387b1b3b0f2221bc3c7eacddd82dbf3b27
Jul 31, 2017https://github.com/python/mypy/pull/3706#event-1186441976
https://github.com/ilevkivskyi
ilevkivskyihttps://github.com/ilevkivskyi
July 31, 2017 20:05https://github.com/python/mypy/pull/3706#event-1186442051
https://github.com/ilinum
ilinumhttps://github.com/ilinum
Aug 3, 2017 https://github.com/python/mypy/pull/3706#ref-pullrequest-247608594
Re-export code from _ast into ast python/typeshed#1515 https://github.com/python/typeshed/pull/1515
gvanrossumhttps://github.com/gvanrossum
Aug 3, 2017 https://github.com/python/mypy/pull/3706#ref-commit-3f9fafb
https://github.com/ilinum
https://github.com/gvanrossum
Re-export code from _ast into ast. (https://github.com/python/typeshed/commit/3f9fafbbb76cf3251d421616a7ec5b1bf4f40383
#1515https://github.com/python/typeshed/pull/1515
)https://github.com/python/typeshed/commit/3f9fafbbb76cf3251d421616a7ec5b1bf4f40383
3f9fafbhttps://github.com/python/typeshed/commit/3f9fafbbb76cf3251d421616a7ec5b1bf4f40383
python/mypy#3706https://github.com/python/mypy/pull/3706
https://github.co/hiddenchars
https://github.com/python/mypy/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%2Fmypy%2Fpull%2F3706
https://github.com/gvanrossum
gvanrossum https://github.com/gvanrossum
https://github.com/python/mypy/pull/3706/files/9d7d0c768ad8cd5518d18d6f6d9e809b1a21f950
https://github.com/emmatyping
emmatyping https://github.com/emmatyping
https://github.com/python/mypy/pull/3706/files/9d7d0c768ad8cd5518d18d6f6d9e809b1a21f950
Please reload this pagehttps://github.com/python/mypy/pull/3706
Please reload this pagehttps://github.com/python/mypy/pull/3706
https://github.com/ilevkivskyi
https://github.com/gvanrossum
https://github.com/emmatyping
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.