René's URL Explorer Experiment


Title: PathName2URLTests fail with Python 3.12.9 · Issue #647 · PythonCharmers/python-future · GitHub

Open Graph Title: PathName2URLTests fail with Python 3.12.9 · Issue #647 · PythonCharmers/python-future

X Title: PathName2URLTests fail with Python 3.12.9 · Issue #647 · PythonCharmers/python-future

Description: some changes between Python 3.12.2 and 3.12.9 cause the following tests to fail on Alpine Linux edge with python-future 1.0.0: ____________ URL2PathNameTests.test_converting_when_no_drive_letter ____________ self =

Open Graph Description: some changes between Python 3.12.2 and 3.12.9 cause the following tests to fail on Alpine Linux edge with python-future 1.0.0: ____________ URL2PathNameTests.test_converting_when_no_drive_letter __...

X Description: some changes between Python 3.12.2 and 3.12.9 cause the following tests to fail on Alpine Linux edge with python-future 1.0.0: ____________ URL2PathNameTests.test_converting_when_no_drive_letter __...

Opengraph URL: https://github.com/PythonCharmers/python-future/issues/647

X: @github

direct link

Domain: patch-diff.githubusercontent.com


Hey, it has json ld scripts:
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"PathName2URLTests fail with Python 3.12.9","articleBody":"some changes between Python 3.12.2 and 3.12.9 cause the following tests to fail on Alpine Linux edge with `python-future` 1.0.0:\n\n```\n____________ URL2PathNameTests.test_converting_when_no_drive_letter ____________\n\nself = \u003ctest_future.test_urllib.URL2PathNameTests testMethod=test_converting_when_no_drive_letter\u003e\n\n    def test_converting_when_no_drive_letter(self):\n        # cannot end a raw string in \\\n\u003e       self.assertEqual(url2pathname(\"///C/test/\"), r'\\\\\\C\\test' '\\\\')\nE       AssertionError: '\\\\C\\\\test\\\\' != '\\\\\\\\\\\\C\\\\test\\\\'\nE       - \\C\\test\\\nE       + \\\\\\C\\test\\\nE       ? ++\n\ntests/test_future/test_urllib.py:1339: AssertionError\n________________ URL2PathNameTests.test_roundtrip_url2pathname _________________\n\nself = \u003ctest_future.test_urllib.URL2PathNameTests testMethod=test_roundtrip_url2pathname\u003e\n\n    def test_roundtrip_url2pathname(self):\n        list_of_paths = ['C:',\n                         r'\\\\\\C\\test\\\\',\n                         r'C:\\foo\\bar\\spam.foo'\n                         ]\n        for path in list_of_paths:\n\u003e           self.assertEqual(url2pathname(pathname2url(path)), path)\nE           AssertionError: '\\\\C\\\\test\\\\\\\\' != '\\\\\\\\\\\\C\\\\test\\\\\\\\'\nE           - \\C\\test\\\\\nE           + \\\\\\C\\test\\\\\nE           ? ++\n\ntests/test_future/test_urllib.py:1355: AssertionError\n________________ PathName2URLTests.test_converting_drive_letter ________________\n\nself = \u003ctest_future.test_urllib.PathName2URLTests testMethod=test_converting_drive_letter\u003e\n\n    def test_converting_drive_letter(self):\n        self.assertEqual(pathname2url(\"C:\"), '///C:')\n\u003e       self.assertEqual(pathname2url(\"C:\\\\\"), '///C:')\nE       AssertionError: '///C:/' != '///C:'\nE       - ///C:/\nE       ?      -\nE       + ///C:\n\ntests/test_future/test_urllib.py:1361: AssertionError\n____________ PathName2URLTests.test_converting_when_no_drive_letter ____________\n\nself = \u003ctest_future.test_urllib.PathName2URLTests testMethod=test_converting_when_no_drive_letter\u003e\n\n    def test_converting_when_no_drive_letter(self):\n\u003e       self.assertEqual(pathname2url(r\"\\\\\\folder\\test\" \"\\\\\"),\n                         '/////folder/test/')\nE       AssertionError: '///folder/test/' != '/////folder/test/'\nE       - ///folder/test/\nE       + /////folder/test/\nE       ? ++\n\ntests/test_future/test_urllib.py:1364: AssertionError\n________________ PathName2URLTests.test_roundtrip_pathname2url _________________\n\nself = \u003ctest_future.test_urllib.PathName2URLTests testMethod=test_roundtrip_pathname2url\u003e\n\n    def test_roundtrip_pathname2url(self):\n        list_of_paths = ['///C:',\n                         '/////folder/test/',\n                         '///C:/foo/bar/spam.foo']\n        for path in list_of_paths:\n\u003e           self.assertEqual(pathname2url(url2pathname(path)), path)\nE           AssertionError: '//folder/test/' != '/////folder/test/'\nE           - //folder/test/\nE           + /////folder/test/\nE           ? +++\n\ntests/test_future/test_urllib.py:1383: AssertionError\n____________ URL2PathNameTests.test_converting_when_no_drive_letter ____________\n\nself = \u003ctest_future.test_urllib_toplevel.URL2PathNameTests testMethod=test_converting_when_no_drive_letter\u003e\n\n    def test_converting_when_no_drive_letter(self):\n        # cannot end a raw string in \\\n\u003e       self.assertEqual(url2pathname(\"///C/test/\"), r'\\\\\\C\\test' '\\\\')\nE       AssertionError: '\\\\C\\\\test\\\\' != '\\\\\\\\\\\\C\\\\test\\\\'\nE       - \\C\\test\\\nE       + \\\\\\C\\test\\\nE       ? ++\n\ntests/test_future/test_urllib_toplevel.py:1357: AssertionError\n________________ URL2PathNameTests.test_roundtrip_url2pathname _________________\n\nself = \u003ctest_future.test_urllib_toplevel.URL2PathNameTests testMethod=test_roundtrip_url2pathname\u003e\n\n    def test_roundtrip_url2pathname(self):\n        list_of_paths = ['C:',\n                         r'\\\\\\C\\test\\\\',\n                         r'C:\\foo\\bar\\spam.foo'\n                         ]\n        for path in list_of_paths:\n\u003e           self.assertEqual(url2pathname(pathname2url(path)), path)\nE           AssertionError: '\\\\C\\\\test\\\\\\\\' != '\\\\\\\\\\\\C\\\\test\\\\\\\\'\nE           - \\C\\test\\\\\nE           + \\\\\\C\\test\\\\\nE           ? ++\n\ntests/test_future/test_urllib_toplevel.py:1373: AssertionError\n________________ PathName2URLTests.test_converting_drive_letter ________________\n\nself = \u003ctest_future.test_urllib_toplevel.PathName2URLTests testMethod=test_converting_drive_letter\u003e\n\n    def test_converting_drive_letter(self):\n        self.assertEqual(pathname2url(\"C:\"), '///C:')\n\u003e       self.assertEqual(pathname2url(\"C:\\\\\"), '///C:')\nE       AssertionError: '///C:/' != '///C:'\nE       - ///C:/\nE       ?      -\nE       + ///C:\n\ntests/test_future/test_urllib_toplevel.py:1379: AssertionError\n____________ PathName2URLTests.test_converting_when_no_drive_letter ____________\n\nself = \u003ctest_future.test_urllib_toplevel.PathName2URLTests testMethod=test_converting_when_no_drive_letter\u003e\n\n    def test_converting_when_no_drive_letter(self):\n\u003e       self.assertEqual(pathname2url(r\"\\\\\\folder\\test\" \"\\\\\"),\n                         '/////folder/test/')\nE       AssertionError: '///folder/test/' != '/////folder/test/'\nE       - ///folder/test/\nE       + /////folder/test/\nE       ? ++\n\ntests/test_future/test_urllib_toplevel.py:1382: AssertionError\n________________ PathName2URLTests.test_roundtrip_pathname2url _________________\n\nself = \u003ctest_future.test_urllib_toplevel.PathName2URLTests testMethod=test_roundtrip_pathname2url\u003e\n\n    def test_roundtrip_pathname2url(self):\n        list_of_paths = ['///C:',\n                         '/////folder/test/',\n                         '///C:/foo/bar/spam.foo']\n        for path in list_of_paths:\n\u003e           self.assertEqual(pathname2url(url2pathname(path)), path)\nE           AssertionError: '//folder/test/' != '/////folder/test/'\nE           - //folder/test/\nE           + /////folder/test/\nE           ? +++\n\ntests/test_future/test_urllib_toplevel.py:1401: AssertionError\n```","author":{"url":"https://github.com/ptrcnull","@type":"Person","name":"ptrcnull"},"datePublished":"2025-03-30T20:24:23.000Z","interactionStatistic":{"@type":"InteractionCounter","interactionType":"https://schema.org/CommentAction","userInteractionCount":1},"url":"https://github.com/647/python-future/issues/647"}

route-pattern/_view_fragments/issues/show/:user_id/:repository/:id/issue_layout(.:format)
route-controllervoltron_issues_fragments
route-actionissue_layout
fetch-noncev2:39510e27-e508-427a-72d0-e6868add1bb8
current-catalog-service-hash81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114
request-idEA6A:215E8B:66D547A:8BEC42B:696E462B
html-safe-nonce87d41f01634cdd8776ba1e9c50a2d076e130e62fa46d41827cc7fc266df2d77c
visitor-payloadeyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJFQTZBOjIxNUU4Qjo2NkQ1NDdBOjhCRUM0MkI6Njk2RTQ2MkIiLCJ2aXNpdG9yX2lkIjoiNTM1ODM1MDk0OTE0MTA3MTQwMyIsInJlZ2lvbl9lZGdlIjoiaWFkIiwicmVnaW9uX3JlbmRlciI6ImlhZCJ9
visitor-hmac21cc9e81e622af0c5ec311dbd2c8dd1b868e6abfe5762de3a20f8063c2b9feea
hovercard-subject-tagissue:2959080653
github-keyboard-shortcutsrepository,issues,copilot
google-site-verificationApib7-x98H0j5cPqHWwSMm6dNU4GmODRoqxLiDzdx9I
octolytics-urlhttps://collector.github.com/github/collect
analytics-location///voltron/issues_fragments/issue_layout
fb:app_id1401488693436528
apple-itunes-appapp-id=1477376905, app-argument=https://github.com/_view_fragments/issues/show/PythonCharmers/python-future/647/issue_layout
twitter:imagehttps://opengraph.githubassets.com/9ebdf68d424387ce7869a353989474c5705fe489df5f7c009666189ec6fc9b90/PythonCharmers/python-future/issues/647
twitter:cardsummary_large_image
og:imagehttps://opengraph.githubassets.com/9ebdf68d424387ce7869a353989474c5705fe489df5f7c009666189ec6fc9b90/PythonCharmers/python-future/issues/647
og:image:altsome changes between Python 3.12.2 and 3.12.9 cause the following tests to fail on Alpine Linux edge with python-future 1.0.0: ____________ URL2PathNameTests.test_converting_when_no_drive_letter __...
og:image:width1200
og:image:height600
og:site_nameGitHub
og:typeobject
og:author:usernameptrcnull
hostnamegithub.com
expected-hostnamegithub.com
None3d96554e55b469c47dbcd31f74dc86278872b170531e84c6ce7f3389673e01d1
turbo-cache-controlno-preview
go-importgithub.com/PythonCharmers/python-future git https://github.com/PythonCharmers/python-future.git
octolytics-dimension-user_id3365815
octolytics-dimension-user_loginPythonCharmers
octolytics-dimension-repository_id11403699
octolytics-dimension-repository_nwoPythonCharmers/python-future
octolytics-dimension-repository_publictrue
octolytics-dimension-repository_is_forkfalse
octolytics-dimension-repository_network_root_id11403699
octolytics-dimension-repository_network_root_nwoPythonCharmers/python-future
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
releaseef576694863a4c791d0a5cc9d2b84384d4414bcd
ui-targetfull
theme-color#1e2327
color-schemelight dark

Links:

Skip to contenthttps://patch-diff.githubusercontent.com/PythonCharmers/python-future/issues/647#start-of-content
https://patch-diff.githubusercontent.com/
Sign in https://patch-diff.githubusercontent.com/login?return_to=https%3A%2F%2Fgithub.com%2FPythonCharmers%2Fpython-future%2Fissues%2F647
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://patch-diff.githubusercontent.com/login?return_to=https%3A%2F%2Fgithub.com%2FPythonCharmers%2Fpython-future%2Fissues%2F647
Sign up https://patch-diff.githubusercontent.com/signup?ref_cta=Sign+up&ref_loc=header+logged+out&ref_page=%2F%3Cuser-name%3E%2F%3Crepo-name%3E%2Fvoltron%2Fissues_fragments%2Fissue_layout&source=header-repo&source_repo=PythonCharmers%2Fpython-future
Reloadhttps://patch-diff.githubusercontent.com/PythonCharmers/python-future/issues/647
Reloadhttps://patch-diff.githubusercontent.com/PythonCharmers/python-future/issues/647
Reloadhttps://patch-diff.githubusercontent.com/PythonCharmers/python-future/issues/647
PythonCharmers https://patch-diff.githubusercontent.com/PythonCharmers
python-futurehttps://patch-diff.githubusercontent.com/PythonCharmers/python-future
Notifications https://patch-diff.githubusercontent.com/login?return_to=%2FPythonCharmers%2Fpython-future
Fork 295 https://patch-diff.githubusercontent.com/login?return_to=%2FPythonCharmers%2Fpython-future
Star 1.2k https://patch-diff.githubusercontent.com/login?return_to=%2FPythonCharmers%2Fpython-future
Code https://patch-diff.githubusercontent.com/PythonCharmers/python-future
Issues 184 https://patch-diff.githubusercontent.com/PythonCharmers/python-future/issues
Pull requests 5 https://patch-diff.githubusercontent.com/PythonCharmers/python-future/pulls
Actions https://patch-diff.githubusercontent.com/PythonCharmers/python-future/actions
Projects 0 https://patch-diff.githubusercontent.com/PythonCharmers/python-future/projects
Wiki https://patch-diff.githubusercontent.com/PythonCharmers/python-future/wiki
Security Uh oh! There was an error while loading. Please reload this page. https://patch-diff.githubusercontent.com/PythonCharmers/python-future/security
Please reload this pagehttps://patch-diff.githubusercontent.com/PythonCharmers/python-future/issues/647
Insights https://patch-diff.githubusercontent.com/PythonCharmers/python-future/pulse
Code https://patch-diff.githubusercontent.com/PythonCharmers/python-future
Issues https://patch-diff.githubusercontent.com/PythonCharmers/python-future/issues
Pull requests https://patch-diff.githubusercontent.com/PythonCharmers/python-future/pulls
Actions https://patch-diff.githubusercontent.com/PythonCharmers/python-future/actions
Projects https://patch-diff.githubusercontent.com/PythonCharmers/python-future/projects
Wiki https://patch-diff.githubusercontent.com/PythonCharmers/python-future/wiki
Security https://patch-diff.githubusercontent.com/PythonCharmers/python-future/security
Insights https://patch-diff.githubusercontent.com/PythonCharmers/python-future/pulse
New issuehttps://patch-diff.githubusercontent.com/login?return_to=https://github.com/PythonCharmers/python-future/issues/647
New issuehttps://patch-diff.githubusercontent.com/login?return_to=https://github.com/PythonCharmers/python-future/issues/647
PathName2URLTests fail with Python 3.12.9https://patch-diff.githubusercontent.com/PythonCharmers/python-future/issues/647#top
https://github.com/ptrcnull
https://github.com/ptrcnull
ptrcnullhttps://github.com/ptrcnull
on Mar 30, 2025https://github.com/PythonCharmers/python-future/issues/647#issue-2959080653
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.