René's URL Explorer Experiment


Title: add __fspath__ support to os.path by JelleZijlstra · Pull Request #2053 · python/typeshed · GitHub

Open Graph Title: add __fspath__ support to os.path by JelleZijlstra · Pull Request #2053 · python/typeshed

X Title: add __fspath__ support to os.path by JelleZijlstra · Pull Request #2053 · python/typeshed

Description: Collection of library stubs for Python, with static types - add __fspath__ support to os.path by JelleZijlstra · Pull Request #2053 · python/typeshed

Open Graph Description: Fixes #1997, #2068. This is tricky because we need to get the return values right (see #1960 for prior attempts) and we often run into python/mypy#3644. I found that I could express most signatures...

X Description: Fixes #1997, #2068. This is tricky because we need to get the return values right (see #1960 for prior attempts) and we often run into python/mypy#3644. I found that I could express most signatures...

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

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:b3a7e795-6b4c-916e-0e62-502955c72a04
current-catalog-service-hashae870bc5e265a340912cde392f23dad3671a0a881730ffdadd82f2f57d81641b
request-idB4C2:29A20E:228CB7D:2EF92EA:6B002788
html-safe-nonce5e9524dec941c58004c8a989d4229783a413e3dceda3e8908e0d2771668730e5
visitor-payloadeyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJCNEMyOjI5QTIwRToyMjhDQjdEOjJFRjkyRUE6NkIwMDI3ODgiLCJ2aXNpdG9yX2lkIjoiMTc0NDI3MzE2Njk5NTM5MzM2IiwicmVnaW9uX2VkZ2UiOiJpYWQiLCJyZWdpb25fcmVuZGVyIjoiaWFkIn0=
visitor-hmace96d84c297764056d77143d31332594aef45e522042b8288c129dc6ec0cf41bf
hovercard-subject-tagpull_request:181630773
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/2053/pull_request_layout
twitter:imagehttps://opengraph.githubassets.com/ae9458c3f5ae144c709007cbd1a32c80dd9b63f0d45e955bcc6b87fe0440af1c/python/typeshed/pull/2053
twitter:cardsummary_large_image
og:imagehttps://opengraph.githubassets.com/ae9458c3f5ae144c709007cbd1a32c80dd9b63f0d45e955bcc6b87fe0440af1c/python/typeshed/pull/2053
og:image:altFixes #1997, #2068. This is tricky because we need to get the return values right (see #1960 for prior attempts) and we often run into python/mypy#3644. I found that I could express most signatures...
og:image:width1200
og:image:height600
og:site_nameGitHub
og:typeobject
og:author:usernameJelleZijlstra
hostnamegithub.com
expected-hostnamegithub.com
None4eb4cba0d69f045374ac15de9666d22b0961e1d555cc3824f36b7734c00c78e0
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
release44c658b24abf00491fb7ae5f56d42c9f38cbeab2
ui-targetfull
theme-color#1e2327
color-schemelight dark
react-app-namepull-requests

Links:

Skip to contenthttps://github.com/python/typeshed/pull/2053#start-of-content
https://github.com/
Sign inhttps://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fpython%2Ftypeshed%2Fpull%2F2053
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%2F2053
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/2053
Reloadhttps://github.com/python/typeshed/pull/2053
Reloadhttps://github.com/python/typeshed/pull/2053
pythonhttps://github.com/python
typeshedhttps://github.com/python/typeshed
Codehttps://github.com/python/typeshed
Issues196 (196)https://github.com/python/typeshed/issues
Pull requests251 (251)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
JelleZijlstra:ospathfspathhttps://github.com/JelleZijlstra/typeshed/tree/ospathfspath
Conversationhttps://github.com/python/typeshed/pull/2053
Commits2 (2)https://github.com/python/typeshed/pull/2053/commits
Checkshttps://github.com/python/typeshed/pull/2053/checks
Files changedhttps://github.com/python/typeshed/pull/2053/files
add __fspath__ support to os.pathhttps://github.com/python/typeshed/pull/2053#top
JelleZijlstrahttps://github.com/JelleZijlstra
python:masterhttps://github.com/python/typeshed/tree/master
JelleZijlstra:ospathfspathhttps://github.com/JelleZijlstra/typeshed/tree/ospathfspath
https://github.com/JelleZijlstra
JelleZijlstrahttps://github.com/JelleZijlstra
Apr 14, 2018https://github.com/python/typeshed/pull/2053#issue-314299528
Please reload this pagehttps://github.com/python/typeshed/pull/2053
#1997https://github.com/python/typeshed/issues/1997
#2068https://github.com/python/typeshed/issues/2068
#1960https://github.com/python/typeshed/pull/1960
python/mypy#3644https://github.com/python/mypy/issues/3644
https://docs.python.org/3/library/os.path.htmlhttps://docs.python.org/3/library/os.path.html
TypeVar in generic union member gets restricted to first constraint mypy#3644https://github.com/python/mypy/issues/3644
Please reload this pagehttps://github.com/python/typeshed/pull/2053
JelleZijlstrahttps://github.com/JelleZijlstra
April 13, 2018 21:46https://github.com/python/typeshed/pull/2053#commits-pushed-be69bef
https://github.com/JelleZijlstra
add __fspath__ support to os.pathhttps://github.com/python/typeshed/pull/2053/commits/be69befd317c208cee352c90f8199614c1033c44
be69befhttps://github.com/python/typeshed/pull/2053/commits/be69befd317c208cee352c90f8199614c1033c44
python#1997https://github.com/python/typeshed/issues/1997
python#1960https://github.com/python/typeshed/pull/1960
python/mypy#3644https://github.com/python/mypy/issues/3644
https://docs.python.org/3/library/os.path.htmlhttps://docs.python.org/3/library/os.path.html
python/mypy#3644https://github.com/python/mypy/issues/3644
https://github.com/JelleZijlstra
also apply changes to 2 to keep the stubs consistenthttps://github.com/python/typeshed/pull/2053/commits/079f2fc18f308fecae0518fc5fbbf2d3037f298f
079f2fchttps://github.com/python/typeshed/pull/2053/commits/079f2fc18f308fecae0518fc5fbbf2d3037f298f
https://github.com/FichteFoll
FichteFollhttps://github.com/FichteFoll
Apr 14, 2018 https://github.com/python/typeshed/pull/2053#pullrequestreview-112203966
View reviewed changes https://github.com/python/typeshed/pull/2053/files/079f2fc18f308fecae0518fc5fbbf2d3037f298f
stdlib/3/os/path.pyihttps://github.com/python/typeshed/pull/2053/files/079f2fc18f308fecae0518fc5fbbf2d3037f298f#diff-b74d1b12d93216ce41890f30eb023664b5df32f9cec620e8b0cfbca733b72120
FichteFollhttps://github.com/FichteFoll
Apr 14, 2018https://github.com/python/typeshed/pull/2053#discussion_r181548652
Please reload this pagehttps://github.com/python/typeshed/pull/2053
Learn morehttps://docs.github.com/articles/managing-disruptive-comments/#hiding-a-comment
Please reload this pagehttps://github.com/python/typeshed/pull/2053
JelleZijlstrahttps://github.com/JelleZijlstra
Apr 14, 2018https://github.com/python/typeshed/pull/2053#discussion_r181554066
Learn morehttps://docs.github.com/articles/managing-disruptive-comments/#hiding-a-comment
Please reload this pagehttps://github.com/python/typeshed/pull/2053
JelleZijlstrahttps://github.com/JelleZijlstra
May 14, 2018https://github.com/python/typeshed/pull/2053#discussion_r187972411
Learn morehttps://docs.github.com/articles/managing-disruptive-comments/#hiding-a-comment
Please reload this pagehttps://github.com/python/typeshed/pull/2053
https://github.com/JelleZijlstra
JelleZijlstrahttps://github.com/JelleZijlstra
Apr 18, 2018 https://github.com/python/typeshed/pull/2053#ref-issue-315572256
os.path stub is missing samestat on py3 #2068 https://github.com/python/typeshed/issues/2068
https://github.com/JakobGM
JakobGMhttps://github.com/JakobGM
Apr 19, 2018 https://github.com/python/typeshed/pull/2053#ref-pullrequest-315960508
Expand environment variables JakobGM/astrality#19 https://github.com/JakobGM/astrality/pull/19
https://github.com/JelleZijlstra
JelleZijlstrahttps://github.com/JelleZijlstra
May 14, 2018 https://github.com/python/typeshed/pull/2053#ref-pullrequest-322522385
Allow multiple shadow files to be specified python/mypy#5023 https://github.com/python/mypy/pull/5023
https://github.com/gvanrossum
gvanrossumhttps://github.com/gvanrossum
May 15, 2018 https://github.com/python/typeshed/pull/2053#pullrequestreview-120259562
View reviewed changes https://github.com/python/typeshed/pull/2053/files/079f2fc18f308fecae0518fc5fbbf2d3037f298f
gvanrossumhttps://github.com/gvanrossum
https://github.com/python/typeshed/pull/2053#pullrequestreview-120259562
Learn morehttps://docs.github.com/articles/managing-disruptive-comments/#hiding-a-comment
Please reload this pagehttps://github.com/python/typeshed/pull/2053
https://github.com/JelleZijlstra
JelleZijlstrahttps://github.com/JelleZijlstra
55be42fhttps://github.com/python/typeshed/commit/55be42f6d6c1e83da339f46125645c68ad59991a
May 15, 2018https://github.com/python/typeshed/pull/2053#event-1627361847
https://github.com/JelleZijlstra
JelleZijlstrahttps://github.com/JelleZijlstra
May 15, 2018 14:31https://github.com/python/typeshed/pull/2053#event-1627361997
https://github.com/JelleZijlstra
JelleZijlstrahttps://github.com/JelleZijlstra
May 15, 2018https://github.com/python/typeshed/pull/2053#issuecomment-389188609
Please reload this pagehttps://github.com/python/typeshed/pull/2053
https://github.com/JelleZijlstra
JelleZijlstrahttps://github.com/JelleZijlstra
May 15, 2018 https://github.com/python/typeshed/pull/2053#ref-pullrequest-304586103
os.path.{abspath, basename, join} should accept _PathType #1960 https://github.com/python/typeshed/pull/1960
gwkhttps://github.com/gwk
May 29, 2018 https://github.com/python/typeshed/pull/2053#ref-commit-138bfa5
https://github.com/JelleZijlstra
https://github.com/gwk
add __fspath__ support to os.path (https://github.com/gwk/typeshed/commit/138bfa58891df2899541b7ba9c66307e8fa4210f
python#2053https://github.com/python/typeshed/pull/2053
)https://github.com/gwk/typeshed/commit/138bfa58891df2899541b7ba9c66307e8fa4210f
138bfa5https://github.com/gwk/typeshed/commit/138bfa58891df2899541b7ba9c66307e8fa4210f
python#1997https://github.com/python/typeshed/issues/1997
python#2068https://github.com/python/typeshed/issues/2068
python#1960https://github.com/python/typeshed/pull/1960
python/mypy#3644https://github.com/python/mypy/issues/3644
https://docs.python.org/3/library/os.path.htmlhttps://docs.python.org/3/library/os.path.html
python/mypy#3644https://github.com/python/mypy/issues/3644
yedpodtrzitkohttps://github.com/yedpodtrzitko
Jan 23, 2019 https://github.com/python/typeshed/pull/2053#ref-commit-a33442f
https://github.com/JelleZijlstra
add __fspath__ support to os.path (https://github.com/yedpodtrzitko/typeshed/commit/a33442fd8cde6827330a155038aedfe31d5eed84
python#2053https://github.com/python/typeshed/pull/2053
)https://github.com/yedpodtrzitko/typeshed/commit/a33442fd8cde6827330a155038aedfe31d5eed84
a33442fhttps://github.com/yedpodtrzitko/typeshed/commit/a33442fd8cde6827330a155038aedfe31d5eed84
python#1997https://github.com/python/typeshed/issues/1997
python#2068https://github.com/python/typeshed/issues/2068
python#1960https://github.com/python/typeshed/pull/1960
python/mypy#3644https://github.com/python/mypy/issues/3644
https://docs.python.org/3/library/os.path.htmlhttps://docs.python.org/3/library/os.path.html
python/mypy#3644https://github.com/python/mypy/issues/3644
https://github.com/FichteFoll
FichteFollhttps://github.com/FichteFoll
Jan 8, 2023 https://github.com/python/typeshed/pull/2053#ref-pullrequest-1524277988
Replace overloads in os.path stubs with Unions of TypeVars #9474 https://github.com/python/typeshed/pull/9474
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%2F2053
https://github.com/gvanrossum
gvanrossum https://github.com/gvanrossum
https://github.com/python/typeshed/pull/2053/files/079f2fc18f308fecae0518fc5fbbf2d3037f298f
https://github.com/FichteFoll
FichteFoll https://github.com/FichteFoll
https://github.com/python/typeshed/pull/2053/files/079f2fc18f308fecae0518fc5fbbf2d3037f298f
Please reload this pagehttps://github.com/python/typeshed/pull/2053
Please reload this pagehttps://github.com/python/typeshed/pull/2053
https://github.com/JelleZijlstra
https://github.com/FichteFoll
https://github.com/gvanrossum
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.