Title: Add Python 3.15 path HTTP and importlib updates by JelleZijlstra · Pull Request #15737 · python/typeshed · GitHub
Open Graph Title: Add Python 3.15 path HTTP and importlib updates by JelleZijlstra · Pull Request #15737 · python/typeshed
X Title: Add Python 3.15 path HTTP and importlib updates by JelleZijlstra · Pull Request #15737 · python/typeshed
Description: Summary Add Python 3.15 stdlib updates for path helpers, HTTP helpers, importlib, inspect, pydoc, pathlib, glob, and zipimport. Relevant report entries Added genericpath.ALL_BUT_LAST, posixpath.ALL_BUT_LAST, and ntpath.ALL_BUT_LAST, and updated several path helpers to positional-only signatures (CPython source: https://github.com/python/cpython/blob/e81025e6d2e01e38c5a5b656af5739ac9df5ff55/Lib/genericpath.py, https://github.com/python/cpython/blob/e81025e6d2e01e38c5a5b656af5739ac9df5ff55/Lib/posixpath.py, https://github.com/python/cpython/blob/e81025e6d2e01e38c5a5b656af5739ac9df5ff55/Lib/ntpath.py) Added http.client.HTTPConnection(max_response_headers=...) and HTTPSConnection(max_response_headers=...) (CPython PR: python/cpython#131724; source: https://github.com/python/cpython/blob/main/Lib/http/client.py) Added http.server default_content_type and SimpleHTTPRequestHandler(extra_response_headers=...); removed CGIHTTPRequestHandler for 3.15 (CPython PRs: python/cpython#113471, python/cpython#135057, python/cpython#133810; source: https://github.com/python/cpython/blob/main/Lib/http/server.py) Added inspect.getdoc(inherit_class_doc=..., fallback_to_class_doc=...) (CPython PR: python/cpython#132686; source: https://github.com/python/cpython/blob/main/Lib/inspect.py) Added importlib.resources.abc.Traversable.read_text(errors=...) (CPython source: https://github.com/python/cpython/blob/e81025e6d2e01e38c5a5b656af5739ac9df5ff55/Lib/importlib/resources/abc.py) Removed private importlib.metadata.DeprecatedNonAbstract, kept Distribution and PathDistribution as ABCs, and updated 3.15 importlib.metadata.__all__/MetadataNotFound (CPython source: https://github.com/python/cpython/blob/e81025e6d2e01e38c5a5b656af5739ac9df5ff55/Lib/importlib/metadata/__init__.py) Changed opcode.opmap to frozendict and added pathlib.PurePath.__vfspath__() for Python 3.15 (CPython sources: https://github.com/python/cpython/blob/e81025e6d2e01e38c5a5b656af5739ac9df5ff55/Lib/opcode.py, https://github.com/python/cpython/blob/e81025e6d2e01e38c5a5b656af5739ac9df5ff55/Lib/pathlib/__init__.py) Added pstats.Stats.print_call_subheading() and pydoc.Doc.STDLIB_DIR; changed pydoc.Doc.getdocloc(basedir=None) (CPython sources: https://github.com/python/cpython/blob/e81025e6d2e01e38c5a5b656af5739ac9df5ff55/Lib/pstats.py, https://github.com/python/cpython/blob/e81025e6d2e01e38c5a5b656af5739ac9df5ff55/Lib/pydoc.py) Removed glob.glob0, glob.glob1, platform.java_ver, pathlib.PurePath.is_reserved, and zipimport.zipimporter.load_module for 3.15 (sources: https://github.com/python/cpython/blob/main/Lib/glob.py, https://github.com/python/cpython/blob/main/Lib/platform.py, https://github.com/python/cpython/blob/main/Lib/pathlib/__init__.py, https://github.com/python/cpython/blob/main/Lib/zipimport.py)
Open Graph Description: Summary Add Python 3.15 stdlib updates for path helpers, HTTP helpers, importlib, inspect, pydoc, pathlib, glob, and zipimport. Relevant report entries Added genericpath.ALL_BUT_LAST, posixpath.AL...
X Description: Summary Add Python 3.15 stdlib updates for path helpers, HTTP helpers, importlib, inspect, pydoc, pathlib, glob, and zipimport. Relevant report entries Added genericpath.ALL_BUT_LAST, posixpath.AL...
Opengraph URL: https://github.com/python/typeshed/pull/15737
X: @github
Domain: github.com
| react-profiling | 0 |
| react-import-map | react,react-dom,react-dom/client,react-dom/profiling,react-is,react-reconciler,react/compiler-runtime,react/jsx-dev-runtime,react/jsx-runtime,scheduler@d5750093facf |
| route-pattern | /:user_id/:repository/pull/:id/commits/:range(.:format) |
| route-controller | pull_requests |
| route-action | commits |
| fetch-nonce | v2:29406d09-7ece-9f8f-9c4e-3264ed17d960 |
| current-catalog-service-hash | ae870bc5e265a340912cde392f23dad3671a0a881730ffdadd82f2f57d81641b |
| request-id | 905E:54326:341A60:4878C2:6AEDB578 |
| html-safe-nonce | 3933827a84bf2ed0a18129d648d8c4cdc90d6e72b0df444354c8fd65f2205d9a |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiI5MDVFOjU0MzI2OjM0MUE2MDo0ODc4QzI6NkFFREI1NzgiLCJ2aXNpdG9yX2lkIjoiNTA5OTA2MTM0MTUyMDk5MTkyIiwicmVnaW9uX2VkZ2UiOiJpYWQiLCJyZWdpb25fcmVuZGVyIjoiaWFkIn0= |
| visitor-hmac | 1fc6a08484254f6a42cc1507be54f50a4af311bb688f56c1bd88f7b5892b6e29 |
| hovercard-subject-tag | pull_request:3653208941 |
| github-keyboard-shortcuts | repository,pull-request-list,pull-request-conversation,pull-request-files-changed,copilot |
| google-site-verification | Apib7-x98H0j5cPqHWwSMm6dNU4GmODRoqxLiDzdx9I |
| octolytics-url | https://collector.github.com/github/collect |
| analytics-location | / |
| fb:app_id | 1401488693436528 |
| apple-itunes-app | app-id=1477376905, app-argument=https://github.com/python/typeshed/pull/15737/commits/4c604194bbfe5b77a707c437d6532f04a97092eb |
| twitter:image | https://avatars.githubusercontent.com/u/906600?s=400&v=4 |
| twitter:card | summary_large_image |
| og:image | https://avatars.githubusercontent.com/u/906600?s=400&v=4 |
| og:image:alt | Summary Add Python 3.15 stdlib updates for path helpers, HTTP helpers, importlib, inspect, pydoc, pathlib, glob, and zipimport. Relevant report entries Added genericpath.ALL_BUT_LAST, posixpath.AL... |
| og:site_name | GitHub |
| og:type | object |
| hostname | github.com |
| expected-hostname | github.com |
| None | e40242599af5e7da0f281843dec7492c322688d4a48caeea85f9fb8e41c8ea53 |
| turbo-cache-control | no-preview |
| diff-view | unified |
| go-import | github.com/python/typeshed git https://github.com/python/typeshed.git |
| octolytics-dimension-user_id | 1525981 |
| octolytics-dimension-user_login | python |
| octolytics-dimension-repository_id | 31696383 |
| octolytics-dimension-repository_nwo | python/typeshed |
| octolytics-dimension-repository_public | true |
| octolytics-dimension-repository_is_fork | false |
| octolytics-dimension-repository_network_root_id | 31696383 |
| octolytics-dimension-repository_network_root_nwo | python/typeshed |
| turbo-body-classes | logged-out env-production page-responsive |
| disable-turbo | false |
| browser-stats-url | https://api.github.com/_private/browser/stats |
| browser-errors-url | https://api.github.com/_private/browser/errors |
| release | 89cbf2bb52a24fc179bf5925abba0ba574b262ce |
| ui-target | full |
| theme-color | #1e2327 |
| color-scheme | light dark |
Links:
Viewport: width=device-width