René's URL Explorer Experiment


Title: Handle cwd correctly in pyinfo by hauntsaninja · Pull Request #13161 · python/mypy · GitHub

Open Graph Title: Handle cwd correctly in pyinfo by hauntsaninja · Pull Request #13161 · python/mypy

X Title: Handle cwd correctly in pyinfo by hauntsaninja · Pull Request #13161 · python/mypy

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

Open Graph Description: This fixes a recent regression introduced by the change to use sys.path Fixes #12956

X Description: This fixes a recent regression introduced by the change to use sys.path Fixes #12956

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

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:71495bcc-2f7f-08e3-e986-fb14d2e6b1a0
current-catalog-service-hashae870bc5e265a340912cde392f23dad3671a0a881730ffdadd82f2f57d81641b
request-idCD82:184B81:33BCBDE:44B0548:6B0040EE
html-safe-noncefda0bd5712b988b45f138827975a3e763706105251f09393ee3db76267186bf7
visitor-payloadeyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJDRDgyOjE4NEI4MTozM0JDQkRFOjQ0QjA1NDg6NkIwMDQwRUUiLCJ2aXNpdG9yX2lkIjoiODczOTk0OTE4NDcxNjgwMjM4IiwicmVnaW9uX2VkZ2UiOiJpYWQiLCJyZWdpb25fcmVuZGVyIjoiaWFkIn0=
visitor-hmacbc75ab93fde2a0a6da0a7e4508da3f284492186574469274ab7b9c35caa814e2
hovercard-subject-tagpull_request:998542123
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/13161/pull_request_layout
twitter:imagehttps://opengraph.githubassets.com/928189f87d4fbbfbcd089fce18065660ccd7900b5c14c0200e5c22cabca9ebed/python/mypy/pull/13161
twitter:cardsummary_large_image
og:imagehttps://opengraph.githubassets.com/928189f87d4fbbfbcd089fce18065660ccd7900b5c14c0200e5c22cabca9ebed/python/mypy/pull/13161
og:image:altThis fixes a recent regression introduced by the change to use sys.path Fixes #12956
og:image:width1200
og:image:height600
og:site_nameGitHub
og:typeobject
og:author:usernamehauntsaninja
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-namepull-requests

Links:

Skip to contenthttps://github.com/python/mypy/pull/13161#start-of-content
https://github.com/
Sign inhttps://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fpython%2Fmypy%2Fpull%2F13161
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%2F13161
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/13161
Reloadhttps://github.com/python/mypy/pull/13161
Reloadhttps://github.com/python/mypy/pull/13161
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 requests545 (545)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
hauntsaninjahttps://github.com/hauntsaninja
python:masterhttps://github.com/python/mypy/tree/master
hauntsaninja:pyinfo-cwdhttps://github.com/hauntsaninja/mypy/tree/pyinfo-cwd
Conversationhttps://github.com/python/mypy/pull/13161
Commits1 (1)https://github.com/python/mypy/pull/13161/commits
Checkshttps://github.com/python/mypy/pull/13161/checks
Files changedhttps://github.com/python/mypy/pull/13161/files
Handle cwd correctly in pyinfohttps://github.com/python/mypy/pull/13161#top
hauntsaninjahttps://github.com/hauntsaninja
python:masterhttps://github.com/python/mypy/tree/master
hauntsaninja:pyinfo-cwdhttps://github.com/hauntsaninja/mypy/tree/pyinfo-cwd
https://github.com/hauntsaninja
hauntsaninjahttps://github.com/hauntsaninja
Jul 17, 2022https://github.com/python/mypy/pull/13161#issue-1306961683
#12956https://github.com/python/mypy/issues/12956
Please reload this pagehttps://github.com/python/mypy/pull/13161
https://github.com/hauntsaninja
hauntsaninjahttps://github.com/hauntsaninja
Jul 17, 2022https://github.com/python/mypy/pull/13161#issuecomment-1186371605
@AWhetterhttps://github.com/AWhetter
@ethanhshttps://github.com/ethanhs
Please reload this pagehttps://github.com/python/mypy/pull/13161
https://github.com/hauntsaninja
Handle cwd correctly in pyinfohttps://github.com/python/mypy/pull/13161/commits/373e694e13c5d762f08df23d4edd84cabd14d5b2
373e694https://github.com/python/mypy/pull/13161/commits/373e694e13c5d762f08df23d4edd84cabd14d5b2
python#12956https://github.com/python/mypy/issues/12956
https://github.com/hauntsaninja
hauntsaninjahttps://github.com/hauntsaninja
force-pushedhttps://github.com/python/mypy/compare/db69bf88cdc98964dd1bb75b8a4a6817c8b596fa..373e694e13c5d762f08df23d4edd84cabd14d5b2
db69bf8https://github.com/python/mypy/commit/db69bf88cdc98964dd1bb75b8a4a6817c8b596fa
373e694https://github.com/python/mypy/commit/373e694e13c5d762f08df23d4edd84cabd14d5b2
Compare https://github.com/python/mypy/compare/db69bf88cdc98964dd1bb75b8a4a6817c8b596fa..373e694e13c5d762f08df23d4edd84cabd14d5b2
July 17, 2022 01:53https://github.com/python/mypy/pull/13161#event-7006849529
https://github.com/hauntsaninja
hauntsaninjahttps://github.com/hauntsaninja
Jul 17, 2022https://github.com/python/mypy/pull/13161#issuecomment-1186372242
Please reload this pagehttps://github.com/python/mypy/pull/13161
Please reload this pagehttps://github.com/python/mypy/pull/13161
https://github.com/hauntsaninja
hauntsaninjahttps://github.com/hauntsaninja
Jul 17, 2022 https://github.com/python/mypy/pull/13161#ref-issue-1298837212
Release 0.970 planning #13089 https://github.com/python/mypy/issues/13089
https://github.com/apps/github-actions
Sign in to viewhttps://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fpython%2Fmypy%2Fpull%2F13161
https://github.com/apps/github-actions
github-actionshttps://github.com/apps/github-actions
Jul 17, 2022https://github.com/python/mypy/pull/13161#issuecomment-1186377768
mypy_primerhttps://github.com/hauntsaninja/mypy_primer
Please reload this pagehttps://github.com/python/mypy/pull/13161
https://github.com/emmatyping
emmatypinghttps://github.com/emmatyping
Jul 17, 2022 https://github.com/python/mypy/pull/13161#pullrequestreview-1041062903
View reviewed changes https://github.com/python/mypy/pull/13161/files/373e694e13c5d762f08df23d4edd84cabd14d5b2
emmatypinghttps://github.com/emmatyping
https://github.com/python/mypy/pull/13161#pullrequestreview-1041062903
Learn morehttps://docs.github.com/articles/managing-disruptive-comments/#hiding-a-comment
Please reload this pagehttps://github.com/python/mypy/pull/13161
https://github.com/hauntsaninja
hauntsaninjahttps://github.com/hauntsaninja
8a974e1https://github.com/python/mypy/commit/8a974e18d68daa59d6ab086dca81557c7d6dcd18
Jul 17, 2022https://github.com/python/mypy/pull/13161#event-7006888167
https://github.com/hauntsaninja
hauntsaninjahttps://github.com/hauntsaninja
July 17, 2022 02:59https://github.com/python/mypy/pull/13161#event-7006888194
hauntsaninjahttps://github.com/hauntsaninja
Jul 17, 2022 https://github.com/python/mypy/pull/13161#ref-commit-f5374eb
https://github.com/hauntsaninja
Handle cwd correctly in pyinfo (https://github.com/hauntsaninja/mypy/commit/f5374eb27ebecf57802c37bc68b929b10e436b14
python#13161https://github.com/python/mypy/pull/13161
)https://github.com/hauntsaninja/mypy/commit/f5374eb27ebecf57802c37bc68b929b10e436b14
f5374ebhttps://github.com/hauntsaninja/mypy/commit/f5374eb27ebecf57802c37bc68b929b10e436b14
python#12956https://github.com/python/mypy/issues/12956
https://github.com/hauntsaninja
hauntsaninjahttps://github.com/hauntsaninja
Jul 17, 2022 https://github.com/python/mypy/pull/13161#ref-pullrequest-1306971566
[0.970 backport] Handle cwd correctly in pyinfo #13162 https://github.com/python/mypy/pull/13162
ilevkivskyihttps://github.com/ilevkivskyi
Jul 17, 2022 https://github.com/python/mypy/pull/13161#ref-commit-2132036
https://github.com/hauntsaninja
Handle cwd correctly in pyinfo (https://github.com/python/mypy/commit/2132036a019ed26d77389c0a9af9b928911a5846
#13161https://github.com/python/mypy/pull/13161
) (https://github.com/python/mypy/commit/2132036a019ed26d77389c0a9af9b928911a5846
#13162https://github.com/python/mypy/pull/13162
)https://github.com/python/mypy/commit/2132036a019ed26d77389c0a9af9b928911a5846
2132036https://github.com/python/mypy/commit/2132036a019ed26d77389c0a9af9b928911a5846
#12956https://github.com/python/mypy/issues/12956
https://github.com/hauntsaninja
hauntsaninjahttps://github.com/hauntsaninja
Jul 17, 2022 https://github.com/python/mypy/pull/13161#ref-issue-1306915031
TYP: Use stubtest to ensure consistency with pyi files pandas-dev/pandas#47760 https://github.com/pandas-dev/pandas/issues/47760
https://github.com/hauntsaninja
hauntsaninjahttps://github.com/hauntsaninja
Jul 17, 2022https://github.com/python/mypy/pull/13161#issuecomment-1186576852
Please reload this pagehttps://github.com/python/mypy/pull/13161
#11143https://github.com/python/mypy/pull/11143
mypy/mypy/build.pyhttps://github.com/python/mypy/blob/a6166b2f7e8e4cf9d176107277da223e45c3a6a1/mypy/build.py#L2458
a6166b2https://github.com/python/mypy/commit/a6166b2f7e8e4cf9d176107277da223e45c3a6a1
mypy/mypy/build.pyhttps://github.com/python/mypy/blob/a6166b2f7e8e4cf9d176107277da223e45c3a6a1/mypy/build.py#L1821
a6166b2https://github.com/python/mypy/commit/a6166b2f7e8e4cf9d176107277da223e45c3a6a1
Please reload this pagehttps://github.com/python/mypy/pull/13161
https://github.com/JukkaL
JukkaLhttps://github.com/JukkaL
Jul 18, 2022 https://github.com/python/mypy/pull/13161#ref-issue-1308083610
PEP 561 test failures due to pyinfo break wheel builds on macOS #13174 https://github.com/python/mypy/issues/13174
JukkaLhttps://github.com/JukkaL
Jul 18, 2022 https://github.com/python/mypy/pull/13161#ref-commit-fdbbf87
https://github.com/JukkaL
Add back workaround to avoid confusing mypy.types and types in pyinfohttps://github.com/python/mypy/commit/fdbbf878cbb15c7e0beddcc46824ac0204ab7c9f
fdbbf87https://github.com/python/mypy/commit/fdbbf878cbb15c7e0beddcc46824ac0204ab7c9f
#13161https://github.com/python/mypy/pull/13161
#13174https://github.com/python/mypy/issues/13174
https://github.com/JukkaL
JukkaLhttps://github.com/JukkaL
Jul 18, 2022 https://github.com/python/mypy/pull/13161#ref-pullrequest-1308116963
Add back workaround to avoid confusing mypy.types and types in pyinfo #13176 https://github.com/python/mypy/pull/13176
JukkaLhttps://github.com/JukkaL
Jul 18, 2022 https://github.com/python/mypy/pull/13161#ref-commit-1a1091e
https://github.com/JukkaL
Add back workaround to avoid confusing mypy.types and types in pyinfo (https://github.com/python/mypy/commit/1a1091e9b8e732461568677456d29ad3ddb820fc
…https://github.com/python/mypy/pull/13176
1a1091ehttps://github.com/python/mypy/commit/1a1091e9b8e732461568677456d29ad3ddb820fc
…#13176https://github.com/python/mypy/pull/13176
#13161https://github.com/python/mypy/pull/13161
#13174https://github.com/python/mypy/issues/13174
JukkaLhttps://github.com/JukkaL
Jul 18, 2022 https://github.com/python/mypy/pull/13161#ref-commit-61c0064
https://github.com/JukkaL
Add back workaround to avoid confusing mypy.types and types in pyinfo (https://github.com/python/mypy/commit/61c0064fc4eb0a97ce1b69c05124fa6c2a4f3670
…https://github.com/python/mypy/pull/13176
61c0064https://github.com/python/mypy/commit/61c0064fc4eb0a97ce1b69c05124fa6c2a4f3670
…#13176https://github.com/python/mypy/pull/13176
#13161https://github.com/python/mypy/pull/13161
#13174https://github.com/python/mypy/issues/13174
Improve stubtest usability for py files #13195 https://github.com/python/mypy/issues/13195
in-project stubs cause mypy to bail in 0.971 #13214 https://github.com/python/mypy/issues/13214
https://github.com/redlickigrzegorz
redlickigrzegorzhttps://github.com/redlickigrzegorz
Aug 5, 2022 https://github.com/python/mypy/pull/13161#ref-pullrequest-1328450848
One event class and Event Broker config extension pdyba/lambdalizator#60 https://github.com/pdyba/lambdalizator/pull/60
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%2F13161
https://github.com/emmatyping
emmatyping https://github.com/emmatyping
https://github.com/python/mypy/pull/13161/files/373e694e13c5d762f08df23d4edd84cabd14d5b2
Please reload this pagehttps://github.com/python/mypy/pull/13161
sys.path change breaks editable installs of cwd https://github.com/python/mypy/issues/12956
Please reload this pagehttps://github.com/python/mypy/pull/13161
https://github.com/hauntsaninja
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.