René's URL Explorer Experiment


Title: bpo-41109: subclasses of pathlib.Path and pathlib.PurePath now call the subclass's __init__() and __new__() functions when returning new objects by websurfer5 · Pull Request #21920 · python/cpython · GitHub

Open Graph Title: bpo-41109: subclasses of pathlib.Path and pathlib.PurePath now call the subclass's __init__() and __new__() functions when returning new objects by websurfer5 · Pull Request #21920 · python/cpython

X Title: bpo-41109: subclasses of pathlib.Path and pathlib.PurePath now call the subclass's __init__() and __new__() functions when returning new objects by websurfer5 · Pull Request #21920 · python/cpython

Description: The Python programming language. Contribute to python/cpython development by creating an account on GitHub.

Open Graph Description: Several pathlib.Path and pathlib.PurePath return new Path and PurePath objects. A subclass of one of those classes returns objects that are instances of the subclass, but the subclass's new() ...

X Description: Several pathlib.Path and pathlib.PurePath return new Path and PurePath objects. A subclass of one of those classes returns objects that are instances of the subclass, but the subclass's ne...

Opengraph URL: https://github.com/python/cpython/pull/21920

X: @github

direct link

Domain: github.com

route-pattern/:user_id/:repository/pull/:id/commits(.:format)
route-controllerpull_requests
route-actioncommits
fetch-noncev2:cf1c925c-8542-cc43-4acd-2cac9504fe0d
current-catalog-service-hashae870bc5e265a340912cde392f23dad3671a0a881730ffdadd82f2f57d81641b
request-id8F34:337CEB:860A46:B40534:69697A02
html-safe-nonceffb8409e093fa5c0401559962ae1ebb84dcb988d217f0eebd060998b49135459
visitor-payloadeyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiI4RjM0OjMzN0NFQjo4NjBBNDY6QjQwNTM0OjY5Njk3QTAyIiwidmlzaXRvcl9pZCI6IjQ3ODYxMDMyNTA1MTcwNjQxOTQiLCJyZWdpb25fZWRnZSI6ImlhZCIsInJlZ2lvbl9yZW5kZXIiOiJpYWQifQ==
visitor-hmac1393b04f51d5b18782b7ee864c24697f4f14ae53ce7ba85fc87e2ecc15ac3a78
hovercard-subject-tagpull_request:469930819
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///pull_requests/show/commits
fb:app_id1401488693436528
apple-itunes-appapp-id=1477376905, app-argument=https://github.com/python/cpython/pull/21920/commits
twitter:imagehttps://opengraph.githubassets.com/ba67e95793dfca99e0452e295e97d525de8614963c4776109413e1fed0c8fdb4/python/cpython/pull/21920
twitter:cardsummary_large_image
og:imagehttps://opengraph.githubassets.com/ba67e95793dfca99e0452e295e97d525de8614963c4776109413e1fed0c8fdb4/python/cpython/pull/21920
og:image:altSeveral pathlib.Path and pathlib.PurePath return new Path and PurePath objects. A subclass of one of those classes returns objects that are instances of the subclass, but the subclass's new() ...
og:image:width1200
og:image:height600
og:site_nameGitHub
og:typeobject
og:author:usernamewebsurfer5
hostnamegithub.com
expected-hostnamegithub.com
Nonec6f193beb8ff08443adc07685d75302ab8aaf0a135f6e251c3ff3112c8deb881
turbo-cache-controlno-cache
go-importgithub.com/python/cpython git https://github.com/python/cpython.git
octolytics-dimension-user_id1525981
octolytics-dimension-user_loginpython
octolytics-dimension-repository_id81598961
octolytics-dimension-repository_nwopython/cpython
octolytics-dimension-repository_publictrue
octolytics-dimension-repository_is_forkfalse
octolytics-dimension-repository_network_root_id81598961
octolytics-dimension-repository_network_root_nwopython/cpython
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
release212e3e3d3298bf5b313830edfd2399e869f7ea76
ui-targetfull
theme-color#1e2327
color-schemelight dark

Links:

Skip to contenthttps://github.com/python/cpython/pull/21920/commits#start-of-content
https://github.com/
Sign in https://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fpython%2Fcpython%2Fpull%2F21920%2Fcommits
GitHub CopilotWrite better code with AIhttps://github.com/features/copilot
GitHub SparkBuild and deploy intelligent appshttps://github.com/features/spark
GitHub ModelsManage and compare promptshttps://github.com/features/models
MCP RegistryNewIntegrate external toolshttps://github.com/mcp
ActionsAutomate any workflowhttps://github.com/features/actions
CodespacesInstant dev environmentshttps://github.com/features/codespaces
IssuesPlan and track workhttps://github.com/features/issues
Code ReviewManage code changeshttps://github.com/features/code-review
GitHub Advanced SecurityFind and fix vulnerabilitieshttps://github.com/security/advanced-security
Code securitySecure your code as you buildhttps://github.com/security/advanced-security/code-security
Secret protectionStop leaks before they starthttps://github.com/security/advanced-security/secret-protection
Why GitHubhttps://github.com/why-github
Documentationhttps://docs.github.com
Bloghttps://github.blog
Changeloghttps://github.blog/changelog
Marketplacehttps://github.com/marketplace
View all featureshttps://github.com/features
Enterpriseshttps://github.com/enterprise
Small and medium teamshttps://github.com/team
Startupshttps://github.com/enterprise/startups
Nonprofitshttps://github.com/solutions/industry/nonprofits
App Modernizationhttps://github.com/solutions/use-case/app-modernization
DevSecOpshttps://github.com/solutions/use-case/devsecops
DevOpshttps://github.com/solutions/use-case/devops
CI/CDhttps://github.com/solutions/use-case/ci-cd
View all use caseshttps://github.com/solutions/use-case
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
View all industrieshttps://github.com/solutions/industry
View all solutionshttps://github.com/solutions
AIhttps://github.com/resources/articles?topic=ai
Software Developmenthttps://github.com/resources/articles?topic=software-development
DevOpshttps://github.com/resources/articles?topic=devops
Securityhttps://github.com/resources/articles?topic=security
View all topicshttps://github.com/resources/articles
Customer storieshttps://github.com/customer-stories
Events & webinarshttps://github.com/resources/events
Ebooks & reportshttps://github.com/resources/whitepapers
Business insightshttps://github.com/solutions/executive-insights
GitHub Skillshttps://skills.github.com
Documentationhttps://docs.github.com
Customer supporthttps://support.github.com
Community forumhttps://github.com/orgs/community/discussions
Trust centerhttps://github.com/trust-center
Partnershttps://github.com/partners
GitHub SponsorsFund open source developershttps://github.com/sponsors
Security Labhttps://securitylab.github.com
Maintainer Communityhttps://maintainers.github.com
Acceleratorhttps://github.com/accelerator
Archive Programhttps://archiveprogram.github.com
Topicshttps://github.com/topics
Trendinghttps://github.com/trending
Collectionshttps://github.com/collections
Enterprise platformAI-powered developer platformhttps://github.com/enterprise
GitHub Advanced SecurityEnterprise-grade security featureshttps://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/premium-support
Pricinghttps://github.com/pricing
Search syntax tipshttps://docs.github.com/search-github/github-code-search/understanding-github-code-search-syntax
documentationhttps://docs.github.com/search-github/github-code-search/understanding-github-code-search-syntax
Sign in https://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fpython%2Fcpython%2Fpull%2F21920%2Fcommits
Sign up https://github.com/signup?ref_cta=Sign+up&ref_loc=header+logged+out&ref_page=%2F%3Cuser-name%3E%2F%3Crepo-name%3E%2Fpull_requests%2Fshow%2Fcommits&source=header-repo&source_repo=python%2Fcpython
Reloadhttps://github.com/python/cpython/pull/21920/commits
Reloadhttps://github.com/python/cpython/pull/21920/commits
Reloadhttps://github.com/python/cpython/pull/21920/commits
python https://github.com/python
cpythonhttps://github.com/python/cpython
Please reload this pagehttps://github.com/python/cpython/pull/21920/commits
Notifications https://github.com/login?return_to=%2Fpython%2Fcpython
Fork 33.9k https://github.com/login?return_to=%2Fpython%2Fcpython
Star 71.1k https://github.com/login?return_to=%2Fpython%2Fcpython
Code https://github.com/python/cpython
Issues 5k+ https://github.com/python/cpython/issues
Pull requests 2.1k https://github.com/python/cpython/pulls
Actions https://github.com/python/cpython/actions
Projects 31 https://github.com/python/cpython/projects
Security Uh oh! There was an error while loading. Please reload this page. https://github.com/python/cpython/security
Please reload this pagehttps://github.com/python/cpython/pull/21920/commits
Insights https://github.com/python/cpython/pulse
Code https://github.com/python/cpython
Issues https://github.com/python/cpython/issues
Pull requests https://github.com/python/cpython/pulls
Actions https://github.com/python/cpython/actions
Projects https://github.com/python/cpython/projects
Security https://github.com/python/cpython/security
Insights https://github.com/python/cpython/pulse
websurfer5https://github.com/websurfer5
python:mainhttps://github.com/python/cpython/tree/main
websurfer5:fix-issue-41109https://github.com/websurfer5/cpython/tree/fix-issue-41109
Conversationhttps://github.com/python/cpython/pull/21920
Commits22 (22)https://github.com/python/cpython/pull/21920/commits
Checkshttps://github.com/python/cpython/pull/21920/checks
Files changedhttps://github.com/python/cpython/pull/21920/files
bpo-41109: subclasses of pathlib.Path and pathlib.PurePath now call the subclass's __init__() and __new__() functions when returning new objectshttps://github.com/python/cpython/pull/21920/commits#top
websurfer5https://github.com/websurfer5
python:mainhttps://github.com/python/cpython/tree/main
websurfer5:fix-issue-41109https://github.com/websurfer5/cpython/tree/fix-issue-41109
bpo-41109: separate object creation by Path and PurePath member variables and properties from __new__() object creationhttps://github.com/python/cpython/pull/21920/commits/081cbc25153e54ecbc260ab8b5c218564b7ec585
https://github.com/websurfer5
websurfer5https://github.com/python/cpython/commits?author=websurfer5
081cbc2https://github.com/python/cpython/pull/21920/commits/081cbc25153e54ecbc260ab8b5c218564b7ec585
https://github.com/python/cpython/tree/081cbc25153e54ecbc260ab8b5c218564b7ec585
bpo-41109: Windows PurePath testshttps://github.com/python/cpython/pull/21920/commits/0e4d53e0c879dab51904f010af8d2789d6e6ac96
https://github.com/websurfer5
websurfer5https://github.com/python/cpython/commits?author=websurfer5
0e4d53ehttps://github.com/python/cpython/pull/21920/commits/0e4d53e0c879dab51904f010af8d2789d6e6ac96
https://github.com/python/cpython/tree/0e4d53e0c879dab51904f010af8d2789d6e6ac96
bpo-41109: use correct class in PureWindowsSubclassNewAndInitTesthttps://github.com/python/cpython/pull/21920/commits/53643f48541615f9c9c51af386df1495c2dd1108
https://github.com/websurfer5
websurfer5https://github.com/python/cpython/commits?author=websurfer5
53643f4https://github.com/python/cpython/pull/21920/commits/53643f48541615f9c9c51af386df1495c2dd1108
https://github.com/python/cpython/tree/53643f48541615f9c9c51af386df1495c2dd1108
bpo-41109: fix commenthttps://github.com/python/cpython/pull/21920/commits/c418958c9a2843dc785705a957b5739eeff3be50
https://github.com/websurfer5
websurfer5https://github.com/python/cpython/commits?author=websurfer5
c418958https://github.com/python/cpython/pull/21920/commits/c418958c9a2843dc785705a957b5739eeff3be50
https://github.com/python/cpython/tree/c418958c9a2843dc785705a957b5739eeff3be50
bpo-41109: fix class names and commentshttps://github.com/python/cpython/pull/21920/commits/34683c42664d2f46f712a7e81a66fc9ae704b470
https://github.com/websurfer5
websurfer5https://github.com/python/cpython/commits?author=websurfer5
34683c4https://github.com/python/cpython/pull/21920/commits/34683c42664d2f46f712a7e81a66fc9ae704b470
https://github.com/python/cpython/tree/34683c42664d2f46f712a7e81a66fc9ae704b470
bpo-41109: WindowsPath test suitehttps://github.com/python/cpython/pull/21920/commits/19e0a405b9be3022b4be40120558f518895ddcf0
https://github.com/websurfer5
websurfer5https://github.com/python/cpython/commits?author=websurfer5
19e0a40https://github.com/python/cpython/pull/21920/commits/19e0a405b9be3022b4be40120558f518895ddcf0
https://github.com/python/cpython/tree/19e0a405b9be3022b4be40120558f518895ddcf0
bpo-41109: add __init__() to Path and PurePathhttps://github.com/python/cpython/pull/21920/commits/1853c6da52cebb99554245f1ab14140492360175
https://github.com/websurfer5
websurfer5https://github.com/python/cpython/commits?author=websurfer5
1853c6dhttps://github.com/python/cpython/pull/21920/commits/1853c6da52cebb99554245f1ab14140492360175
https://github.com/python/cpython/tree/1853c6da52cebb99554245f1ab14140492360175
bpo-41109: remove extraneous **kwargs parameter from Path.__init__()https://github.com/python/cpython/pull/21920/commits/17c141cb946418adcc70ee19e8d7e8129126cfaa
https://github.com/websurfer5
websurfer5https://github.com/python/cpython/commits?author=websurfer5
17c141chttps://github.com/python/cpython/pull/21920/commits/17c141cb946418adcc70ee19e8d7e8129126cfaa
https://github.com/python/cpython/tree/17c141cb946418adcc70ee19e8d7e8129126cfaa
bpo-41109: remove extraneous whitespacehttps://github.com/python/cpython/pull/21920/commits/505cab0da17b6e426d09397d91b6d661b5410e96
https://github.com/websurfer5
websurfer5https://github.com/python/cpython/commits?author=websurfer5
505cab0https://github.com/python/cpython/pull/21920/commits/505cab0da17b6e426d09397d91b6d661b5410e96
https://github.com/python/cpython/tree/505cab0da17b6e426d09397d91b6d661b5410e96
bpo-41109: remove double-initialization in Path.__new__()https://github.com/python/cpython/pull/21920/commits/c47bf06c53cf334a0978ba7bdddd4edb29bd1f5f
https://github.com/websurfer5
websurfer5https://github.com/python/cpython/commits?author=websurfer5
c47bf06https://github.com/python/cpython/pull/21920/commits/c47bf06c53cf334a0978ba7bdddd4edb29bd1f5f
https://github.com/python/cpython/tree/c47bf06c53cf334a0978ba7bdddd4edb29bd1f5f
bpo-41109: no longer need to call _init() from PurePath.__init__()https://github.com/python/cpython/pull/21920/commits/6607e77b68d9cc047608198d4b25bdbf7935e5ca
https://github.com/websurfer5
websurfer5https://github.com/python/cpython/commits?author=websurfer5
6607e77https://github.com/python/cpython/pull/21920/commits/6607e77b68d9cc047608198d4b25bdbf7935e5ca
https://github.com/python/cpython/tree/6607e77b68d9cc047608198d4b25bdbf7935e5ca
bpo-41109: reorganize tests using a common base class for common testshttps://github.com/python/cpython/pull/21920/commits/cf6afb073b6b5691838167ce9e3dbf8fbb32e996
https://github.com/websurfer5
websurfer5https://github.com/python/cpython/commits?author=websurfer5
cf6afb0https://github.com/python/cpython/pull/21920/commits/cf6afb073b6b5691838167ce9e3dbf8fbb32e996
https://github.com/python/cpython/tree/cf6afb073b6b5691838167ce9e3dbf8fbb32e996
bpo-41109: fix readlink test for Windowshttps://github.com/python/cpython/pull/21920/commits/d25fdd75359ad269b03c08d0b2a15dae134c3bfa
https://github.com/websurfer5
websurfer5https://github.com/python/cpython/commits?author=websurfer5
d25fdd7https://github.com/python/cpython/pull/21920/commits/d25fdd75359ad269b03c08d0b2a15dae134c3bfa
https://github.com/python/cpython/tree/d25fdd75359ad269b03c08d0b2a15dae134c3bfa
bpo-41109: cleanup test_resolvehttps://github.com/python/cpython/pull/21920/commits/4be7b7a104503345f7c37f83d1929d5ca54d3aa1
https://github.com/websurfer5
websurfer5https://github.com/python/cpython/commits?author=websurfer5
4be7b7ahttps://github.com/python/cpython/pull/21920/commits/4be7b7a104503345f7c37f83d1929d5ca54d3aa1
https://github.com/python/cpython/tree/4be7b7a104503345f7c37f83d1929d5ca54d3aa1
bpo-41109: cleanup test_globhttps://github.com/python/cpython/pull/21920/commits/1660fa69e223d616dbe29713f14a8ba449fbe44a
https://github.com/websurfer5
websurfer5https://github.com/python/cpython/commits?author=websurfer5
1660fa6https://github.com/python/cpython/pull/21920/commits/1660fa69e223d616dbe29713f14a8ba449fbe44a
https://github.com/python/cpython/tree/1660fa69e223d616dbe29713f14a8ba449fbe44a
bpo-41109: test all initialization caseshttps://github.com/python/cpython/pull/21920/commits/2a270163e3267d45183aeb8f263c041de738bc17
https://github.com/websurfer5
websurfer5https://github.com/python/cpython/commits?author=websurfer5
2a27016https://github.com/python/cpython/pull/21920/commits/2a270163e3267d45183aeb8f263c041de738bc17
https://github.com/python/cpython/tree/2a270163e3267d45183aeb8f263c041de738bc17
bpo-41109: news blurbhttps://github.com/python/cpython/pull/21920/commits/4014a16c24c2de889c935aafcd0dd7df21d27f5e
https://github.com/websurfer5
websurfer5https://github.com/python/cpython/commits?author=websurfer5
4014a16https://github.com/python/cpython/pull/21920/commits/4014a16c24c2de889c935aafcd0dd7df21d27f5e
https://github.com/python/cpython/tree/4014a16c24c2de889c935aafcd0dd7df21d27f5e
bpo-41109: What's New entry and better news blurbhttps://github.com/python/cpython/pull/21920/commits/31b449e21f178da06e1fc7f85464b5daba098be5
https://github.com/websurfer5
websurfer5https://github.com/python/cpython/commits?author=websurfer5
31b449ehttps://github.com/python/cpython/pull/21920/commits/31b449e21f178da06e1fc7f85464b5daba098be5
https://github.com/python/cpython/tree/31b449e21f178da06e1fc7f85464b5daba098be5
bpo-4119: Merge branch 'master' of github.com:python/cpython into fix-issue-41109https://github.com/python/cpython/pull/21920/commits/ebc8371f8294b307c256fca912b79f9865823320
https://github.com/websurfer5
websurfer5https://github.com/python/cpython/commits?author=websurfer5
ebc8371https://github.com/python/cpython/pull/21920/commits/ebc8371f8294b307c256fca912b79f9865823320
https://github.com/python/cpython/tree/ebc8371f8294b307c256fca912b79f9865823320
bpo-41109: improve What's New and News entrieshttps://github.com/python/cpython/pull/21920/commits/86bb25b1d029fcd83c3ea5d7560410ad1d2f3a7e
https://github.com/websurfer5
websurfer5https://github.com/python/cpython/commits?author=websurfer5
86bb25bhttps://github.com/python/cpython/pull/21920/commits/86bb25b1d029fcd83c3ea5d7560410ad1d2f3a7e
https://github.com/python/cpython/tree/86bb25b1d029fcd83c3ea5d7560410ad1d2f3a7e
bpo-41109: simplify _new_from_parts() and _new_from_parsed_parts() in PurePathhttps://github.com/python/cpython/pull/21920/commits/b2c62a6ce67744ac016ef93439864ebec9779281
https://github.com/websurfer5
websurfer5https://github.com/python/cpython/commits?author=websurfer5
b2c62a6https://github.com/python/cpython/pull/21920/commits/b2c62a6ce67744ac016ef93439864ebec9779281
https://github.com/python/cpython/tree/b2c62a6ce67744ac016ef93439864ebec9779281
Merge branch 'master' of github.com:python/cpython into fix-issue-41109https://github.com/python/cpython/pull/21920/commits/6f363b9e04a18b1c891939b44db42f4413c5b8fb
https://github.com/websurfer5
websurfer5https://github.com/python/cpython/commits?author=websurfer5
6f363b9https://github.com/python/cpython/pull/21920/commits/6f363b9e04a18b1c891939b44db42f4413c5b8fb
https://github.com/python/cpython/tree/6f363b9e04a18b1c891939b44db42f4413c5b8fb
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.