René's URL Explorer Experiment


Title: Restrictions on MYPYPATH · Issue #7604 · python/mypy · GitHub

Open Graph Title: Restrictions on MYPYPATH · Issue #7604 · python/mypy

X Title: Restrictions on MYPYPATH · Issue #7604 · python/mypy

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

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

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

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

X: @github

direct link

Domain: github.com


Hey, it has json ld scripts:
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"Restrictions on MYPYPATH","articleBody":"Given that `PYTHONPATH` contains `.../pythonX.Y/site-packages`\r\nAnd a package that contains some private 3rd party stubs under `.../pythonX.Y/site-packages/foo/some_stubs`\r\n\r\nWhen setting `MYPYPATH` to `.../pythonX.Y/site-packages/foo/some_stubs`\r\n\r\nThen `mypy` gives the error `.../pythonX.Y/site-packages is in the MYPYPATH. Please remove it.`.\r\n\r\nThis is wrong because:\r\n\r\n1. `MYPYPATH` does *not* include `../pythonX.Y/site-packages`. It *does* include `.../pythonX.Y/site-packages/foo/some_stubs` but that is a very different directory.\r\n\r\n2. Due to this error `mypy` refuses to use the stubs listed in `MYPYPATH` in this case.\r\n\r\nThis probably isn't intentional? The relevant [PEP](https://www.python.org/dev/peps/pep-0561) explicitly allows for `MYPYPATH` and does not seem to mention any restriction on the location of stubs added via `MYPYPATH`.\r\n\r\nIt is possible to work around the problem by copying (or linking) the stubs to a directory which is *not* under `../pythonX.Y/site-packages`, say into `~/.foo-stubs` and adding this path to `MYPYPATH`.","author":{"url":"https://github.com/orenbenkiki","@type":"Person","name":"orenbenkiki"},"datePublished":"2019-10-02T15:46:16Z","url":"https://github.com/python/mypy/issues/7604"}

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/:user_id/:repository/issues/:id(.:format)
route-controllerissues
route-actionshow
fetch-noncev2:ad64903d-faf4-e6d9-56bc-14b4e3579029
current-catalog-service-hash81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114
request-idC8A6:14B836:50A9C5:6C6C35:6B002FB6
html-safe-noncee7f238027698353841d122b44e21f2ed36badbd605f83c2fb2bd138b14f10134
visitor-payloadeyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJDOEE2OjE0QjgzNjo1MEE5QzU6NkM2QzM1OjZCMDAyRkI2IiwidmlzaXRvcl9pZCI6IjcyMjE3NDYxMzI4NTcxMzkxMjYiLCJyZWdpb25fZWRnZSI6ImlhZCIsInJlZ2lvbl9yZW5kZXIiOiJpYWQifQ==
visitor-hmacd86fd0bb3f7ac8ac407b105ff01c6d7823eabbe0d096ed4669981559f5edea44
hovercard-subject-tagrepository:7053637
github-keyboard-shortcutsrepository,issues,copilot
google-site-verificationApib7-x98H0j5cPqHWwSMm6dNU4GmODRoqxLiDzdx9I
octolytics-urlhttps://collector.github.com/github/collect
analytics-location///issues/show
fb:app_id1401488693436528
apple-itunes-appapp-id=1477376905, app-argument=https://github.com/python/mypy/issues/7604
twitter:imagehttps://opengraph.githubassets.com/f79ae5636353a0db17350af0a02700f2e9c3bbcf096f9450bf0c369c77cd1022/python/mypy
twitter:cardsummary_large_image
og:imagehttps://opengraph.githubassets.com/f79ae5636353a0db17350af0a02700f2e9c3bbcf096f9450bf0c369c77cd1022/python/mypy
og:image:altOptional static typing for Python. Contribute to python/mypy development by creating an account on GitHub.
og:image:width1200
og:image:height600
og:site_nameGitHub
og:typeobject
hostnamegithub.com
expected-hostnamegithub.com
None7d0829bbde9e48b2486cb5dd6d147896eb01d32134627091f818958a935ef3f0
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
releasef3f3a43ca095cdea3abbb394112e971f9fdb94fa
ui-targetfull
theme-color#1e2327
color-schemelight dark
react-app-nameissues

Links:

Skip to contenthttps://github.com/python/mypy/issues/7604#start-of-content
https://github.com/
Sign inhttps://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fpython%2Fmypy%2Fissues%2F7604
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%2Fissues%2F7604
Sign uphttps://github.com/signup?ref_cta=Sign+up&ref_loc=header+logged+out&ref_page=%2F%3Cuser-name%3E%2F%3Crepo-name%3E%2Fissues%2Fshow&source=header-repo&source_repo=python%2Fmypy
Reloadhttps://github.com/python/mypy/issues/7604
Reloadhttps://github.com/python/mypy/issues/7604
Reloadhttps://github.com/python/mypy/issues/7604
https://github.com/python/mypy
New issuehttps://github.com/login?return_to=https://github.com/python/mypy/issues/7604
New issuehttps://github.com/login?return_to=https://github.com/python/mypy/issues/7604
Restrictions on MYPYPATHhttps://github.com/python/mypy/issues/7604#top
needs discussionhttps://github.com/python/mypy/issues?q=state%3Aopen%20label%3A%22needs%20discussion%22
topic-usabilityhttps://github.com/python/mypy/issues?q=state%3Aopen%20label%3A%22topic-usability%22
https://github.com/orenbenkiki
orenbenkikihttps://github.com/orenbenkiki
on Oct 2, 2019https://github.com/python/mypy/issues/7604#issue-501573603
PEPhttps://www.python.org/dev/peps/pep-0561
Nexthttps://github.com/python/mypy/issues/7604?timeline_page=1
https://github.com/msullivan
msullivanhttps://github.com/msullivan
on Oct 2, 2019https://github.com/python/mypy/issues/7604#issuecomment-537596404
https://github.com/orenbenkiki
orenbenkikihttps://github.com/orenbenkiki
on Oct 2, 2019https://github.com/python/mypy/issues/7604#issuecomment-537597310
https://github.com/emmatyping
emmatypinghttps://github.com/emmatyping
on Oct 2, 2019https://github.com/python/mypy/issues/7604#issuecomment-537649167
https://github.com/gvanrossum
gvanrossumhttps://github.com/gvanrossum
on Oct 2, 2019https://github.com/python/mypy/issues/7604#issuecomment-537708119
https://github.com/orenbenkiki
orenbenkikihttps://github.com/orenbenkiki
on Oct 3, 2019https://github.com/python/mypy/issues/7604#issuecomment-537817127
JukkaLhttps://github.com/JukkaL
needs discussionhttps://github.com/python/mypy/issues?q=state%3Aopen%20label%3A%22needs%20discussion%22
topic-usabilityhttps://github.com/python/mypy/issues?q=state%3Aopen%20label%3A%22topic-usability%22
on Oct 11, 2019https://github.com/python/mypy/issues/7604#event-2706390458
https://github.com/emmatyping
emmatypinghttps://github.com/emmatyping
on Mar 3, 2020https://github.com/python/mypy/issues/7604#issuecomment-594169414
https://github.com/jraygauthier
jraygauthierhttps://github.com/jraygauthier
on May 11, 2020https://github.com/python/mypy/issues/7604#issuecomment-626931263
#5701https://github.com/python/mypy/issues/5701
https://github.com/jraygauthier
jraygauthierhttps://github.com/jraygauthier
on May 11, 2020https://github.com/python/mypy/issues/7604#issuecomment-626933435
#5701https://github.com/python/mypy/issues/5701
https://github.com/msullivan
msullivanhttps://github.com/msullivan
on May 19, 2020https://github.com/python/mypy/issues/7604#issuecomment-630497289
https://github.com/orenbenkiki
orenbenkikihttps://github.com/orenbenkiki
on May 20, 2020https://github.com/python/mypy/issues/7604#issuecomment-631529607
orenbenkikihttps://github.com/orenbenkiki
completedhttps://github.com/python/mypy/issues?q=is%3Aissue%20state%3Aclosed%20archived%3Afalse%20reason%3Acompleted
on May 20, 2020https://github.com/python/mypy/issues/7604#event-3356900161
https://github.com/jraygauthier
jraygauthierhttps://github.com/jraygauthier
on May 20, 2020https://github.com/python/mypy/issues/7604#issuecomment-631645670
@msullivanhttps://github.com/msullivan
@orenbenkikihttps://github.com/orenbenkiki
@orenbenkikihttps://github.com/orenbenkiki
https://github.com/sjosegarcia
sjosegarciahttps://github.com/sjosegarcia
on May 26, 2020https://github.com/python/mypy/issues/7604#issuecomment-634320473
https://github.com/emmatyping
emmatypinghttps://github.com/emmatyping
on May 26, 2020https://github.com/python/mypy/issues/7604#issuecomment-634327705
@sjosegarciahttps://github.com/sjosegarcia
https://github.com/sjosegarcia
sjosegarciahttps://github.com/sjosegarcia
on May 26, 2020https://github.com/python/mypy/issues/7604#issuecomment-634338372
@ethanhshttps://github.com/ethanhs
https://github.com/elzorrorebelde
elzorrorebeldehttps://github.com/elzorrorebelde
on Jun 9, 2020https://github.com/python/mypy/issues/7604#issuecomment-641582450
https://github.com/cwilling
cwillinghttps://github.com/cwilling
on Feb 9, 2021https://github.com/python/mypy/issues/7604#issuecomment-775924033
https://github.com/MarximusMaximus
MarximusMaximushttps://github.com/MarximusMaximus
on Apr 22, 2022https://github.com/python/mypy/issues/7604#issuecomment-1105872284
https://github.com/emmatyping
emmatypinghttps://github.com/emmatyping
on Jun 5, 2022https://github.com/python/mypy/issues/7604#issuecomment-1146787042
#5701https://github.com/python/mypy/issues/5701
https://github.com/emmatyping
emmatypinghttps://github.com/emmatyping
on Aug 13, 2022https://github.com/python/mypy/issues/7604#issuecomment-1214050447
#13155https://github.com/python/mypy/pull/13155
#11143https://github.com/python/mypy/pull/11143
https://github.com/rchl
rchlhttps://github.com/rchl
on Sep 16, 2022https://github.com/python/mypy/issues/7604#issuecomment-1249794029
https://github.com/hauntsaninja
hauntsaninjahttps://github.com/hauntsaninja
on Sep 16, 2022https://github.com/python/mypy/issues/7604#issuecomment-1249824784
@rchlhttps://github.com/rchl
#11143https://github.com/python/mypy/pull/11143
#13214https://github.com/python/mypy/issues/13214
https://github.com/rchl
rchlhttps://github.com/rchl
on Sep 16, 2022https://github.com/python/mypy/issues/7604#issuecomment-1249837937
https://github.com/hauntsaninja
hauntsaninjahttps://github.com/hauntsaninja
on Sep 16, 2022https://github.com/python/mypy/issues/7604#issuecomment-1249841288
https://github.com/hauntsaninja
hauntsaninjahttps://github.com/hauntsaninja
on Jul 3, 2024https://github.com/python/mypy/issues/7604#issuecomment-2205405337
hauntsaninjahttps://github.com/hauntsaninja
not plannedhttps://github.com/python/mypy/issues?q=is%3Aissue%20state%3Aclosed%20archived%3Afalse%20reason%3Anot-planned
on Jul 3, 2024https://github.com/python/mypy/issues/7604#event-13376715619
pythonhttps://github.com/python
on Jul 3, 2024https://github.com/python/mypy/issues/7604#event-13376718068
Sign up for freehttps://github.com/signup?return_to=https://github.com/python/mypy/issues/7604
Sign in to commenthttps://github.com/login?return_to=https://github.com/python/mypy/issues/7604
needs discussionhttps://github.com/python/mypy/issues?q=state%3Aopen%20label%3A%22needs%20discussion%22
topic-usabilityhttps://github.com/python/mypy/issues?q=state%3Aopen%20label%3A%22topic-usability%22
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.