René's URL Explorer Experiment


Title: gh-69371: Fix pydoc for modules whose path contains undecodable bytes by serhiy-storchaka · Pull Request #155239 · python/cpython · GitHub

Open Graph Title: gh-69371: Fix pydoc for modules whose path contains undecodable bytes by serhiy-storchaka · Pull Request #155239 · python/cpython

X Title: gh-69371: Fix pydoc for modules whose path contains undecodable bytes by serhiy-storchaka · Pull Request #155239 · python/cpython

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

Open Graph Description: python -m pydoc -w and the pydoc HTTP server failed with UnicodeEncodeError if the path of the documented module contains bytes undecodable in the filesystem encoding. The file URL is now created w...

X Description: python -m pydoc -w and the pydoc HTTP server failed with UnicodeEncodeError if the path of the documented module contains bytes undecodable in the filesystem encoding. The file URL is now created w...

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

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:e8468267-253f-3323-1740-89dac241bbd9
current-catalog-service-hashae870bc5e265a340912cde392f23dad3671a0a881730ffdadd82f2f57d81641b
request-id9866:1F68:11AD8B6:17A2884:6B020AB6
html-safe-noncee0687e5137ee8fa136d4faeb6383d129a5e458abac2720aa34e6b19b16261394
visitor-payloadeyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiI5ODY2OjFGNjg6MTFBRDhCNjoxN0EyODg0OjZCMDIwQUI2IiwidmlzaXRvcl9pZCI6IjU4MjkxNDMyNDM4NTc3MjYxMzQiLCJyZWdpb25fZWRnZSI6ImlhZCIsInJlZ2lvbl9yZW5kZXIiOiJpYWQifQ==
visitor-hmace2bde55e311180b8ad052135c905f754786e798bd41625e4c7f7c7412058a8b7
hovercard-subject-tagpull_request:4212142500
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/cpython/155239/pull_request_layout
twitter:imagehttps://opengraph.githubassets.com/e0e1b4b469f6cd739cb6edc85e2a60f41c13205c10fab0986f8944ee3b430b08/python/cpython/pull/155239
twitter:cardsummary_large_image
og:imagehttps://opengraph.githubassets.com/e0e1b4b469f6cd739cb6edc85e2a60f41c13205c10fab0986f8944ee3b430b08/python/cpython/pull/155239
og:image:altpython -m pydoc -w and the pydoc HTTP server failed with UnicodeEncodeError if the path of the documented module contains bytes undecodable in the filesystem encoding. The file URL is now created w...
og:image:width1200
og:image:height600
og:site_nameGitHub
og:typeobject
og:author:usernameserhiy-storchaka
hostnamegithub.com
expected-hostnamegithub.com
None87e774ee7c6b3bee0490394e4d3e57ec9dbc956f74b87ea685dc8996c1676456
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
release423dbb54c5e7bfecc838eb387c1435eb3d0e760d
ui-targetfull
theme-color#1e2327
color-schemelight dark
react-app-namepull-requests

Links:

Skip to contenthttps://github.com/python/cpython/pull/155239#start-of-content
https://github.com/
Sign inhttps://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fpython%2Fcpython%2Fpull%2F155239
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%2Fcpython%2Fpull%2F155239
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%2Fcpython
Reloadhttps://github.com/python/cpython/pull/155239
Reloadhttps://github.com/python/cpython/pull/155239
Reloadhttps://github.com/python/cpython/pull/155239
pythonhttps://github.com/python
cpythonhttps://github.com/python/cpython
Codehttps://github.com/python/cpython
Issues5k+ (5k+)https://github.com/python/cpython/issues
Pull requests2.4k (2.4k)https://github.com/python/cpython/pulls
Actionshttps://github.com/python/cpython/actions
Projectshttps://github.com/python/cpython/projects
Security and qualityhttps://github.com/python/cpython/security
Insightshttps://github.com/python/cpython/insights
https://github.com/python/cpython
serhiy-storchakahttps://github.com/serhiy-storchaka
python:mainhttps://github.com/python/cpython/tree/main
serhiy-storchaka:gh-69371-pydoc-nondecodable-pathhttps://github.com/serhiy-storchaka/cpython/tree/gh-69371-pydoc-nondecodable-path
Conversationhttps://github.com/python/cpython/pull/155239
Commits3 (3)https://github.com/python/cpython/pull/155239/commits
Checkshttps://github.com/python/cpython/pull/155239/checks
Files changedhttps://github.com/python/cpython/pull/155239/files
gh-69371: Fix pydoc for modules whose path contains undecodable byteshttps://github.com/python/cpython/pull/155239#top
serhiy-storchakahttps://github.com/serhiy-storchaka
python:mainhttps://github.com/python/cpython/tree/main
serhiy-storchaka:gh-69371-pydoc-nondecodable-pathhttps://github.com/serhiy-storchaka/cpython/tree/gh-69371-pydoc-nondecodable-path
https://github.com/serhiy-storchaka
serhiy-storchakahttps://github.com/serhiy-storchaka
Aug 5, 2026https://github.com/python/cpython/pull/155239#issue-5070840636
"python -m pydoc -w" fails in nondecodable directory #69371https://github.com/python/cpython/issues/69371
Please reload this pagehttps://github.com/python/cpython/pull/155239
https://github.com/serhiy-storchaka
https://github.com/claude
pythongh-69371https://github.com/python/cpython/issues/69371
: Fix pydoc for modules whose path contains undecodable…https://github.com/python/cpython/pull/155239/commits/07a943efd19fc1c5fbca7989db5b9eea536c553d
07a943ehttps://github.com/python/cpython/pull/155239/commits/07a943efd19fc1c5fbca7989db5b9eea536c553d
https://github.com/serhiy-storchaka
serhiy-storchakahttps://github.com/serhiy-storchaka
AA-Turnerhttps://github.com/AA-Turner
code ownerhttps://github.com/python/cpython/blob/ea85e8faeccac4346d782b909a43eaa3a881ac8a/.github/CODEOWNERS#L543
August 5, 2026 12:28https://github.com/python/cpython/pull/155239#event-29008395767
https://github.com/apps/bedevere-app
bedevere-apphttps://github.com/apps/bedevere-app
Aug 5, 2026 https://github.com/python/cpython/pull/155239#ref-issue-1198941450
"python -m pydoc -w" fails in nondecodable directory #69371 https://github.com/python/cpython/issues/69371
https://github.com/apps/bedevere-app
bedevere-apphttps://github.com/apps/bedevere-app
awaiting core review https://github.com/python/cpython/issues?q=state%3Aopen%20label%3A%22awaiting%20core%20review%22
Aug 5, 2026https://github.com/python/cpython/pull/155239#event-29008401794
https://github.com/serhiy-storchaka
serhiy-storchakahttps://github.com/serhiy-storchaka
needs backport to 3.13 https://github.com/python/cpython/issues?q=state%3Aopen%20label%3A%22needs%20backport%20to%203.13%22
needs backport to 3.14 https://github.com/python/cpython/issues?q=state%3Aopen%20label%3A%22needs%20backport%20to%203.14%22
needs backport to 3.15 https://github.com/python/cpython/issues?q=state%3Aopen%20label%3A%22needs%20backport%20to%203.15%22
stdlib https://github.com/python/cpython/issues?q=state%3Aopen%20label%3Astdlib
type-bug https://github.com/python/cpython/issues?q=state%3Aopen%20label%3Atype-bug
Aug 5, 2026https://github.com/python/cpython/pull/155239#event-29008404647
serhiy-storchakahttps://github.com/serhiy-storchaka
August 5, 2026 18:31https://github.com/python/cpython/pull/155239#commits-pushed-5ee9f1d
https://github.com/serhiy-storchaka
https://github.com/claude
Skip the test if undecodable paths are not supportedhttps://github.com/python/cpython/pull/155239/commits/5ee9f1df36e477d3ae11b4c11ecc8bfe28099f5a
5ee9f1dhttps://github.com/python/cpython/pull/155239/commits/5ee9f1df36e477d3ae11b4c11ecc8bfe28099f5a
https://github.com/serhiy-storchaka
https://github.com/claude
Fix the tests on Windowshttps://github.com/python/cpython/pull/155239/commits/021ca086440519bc8d2f3d7946f3e5c81d0dc5b9
021ca08https://github.com/python/cpython/pull/155239/commits/021ca086440519bc8d2f3d7946f3e5c81d0dc5b9
https://github.com/serhiy-storchaka
serhiy-storchakahttps://github.com/serhiy-storchaka
c8ca336https://github.com/python/cpython/commit/c8ca336e6b321a4ff680ea426cc8a84bfb599bd2
Aug 29, 2026https://github.com/python/cpython/pull/155239#event-30219238533
Please reload this pagehttps://github.com/python/cpython/pull/155239
https://github.com/apps/miss-islington-app
miss-islington-apphttps://github.com/apps/miss-islington-app
Aug 29, 2026https://github.com/python/cpython/pull/155239#issuecomment-5464581300
@serhiy-storchakahttps://github.com/serhiy-storchaka
Please reload this pagehttps://github.com/python/cpython/pull/155239
https://github.com/serhiy-storchaka
serhiy-storchakahttps://github.com/serhiy-storchaka
August 29, 2026 19:59https://github.com/python/cpython/pull/155239#event-30219239547
https://github.com/apps/bedevere-app
bedevere-apphttps://github.com/apps/bedevere-app
awaiting core review https://github.com/python/cpython/issues?q=state%3Aopen%20label%3A%22awaiting%20core%20review%22
Aug 29, 2026https://github.com/python/cpython/pull/155239#event-30219239638
https://github.com/apps/bedevere-app
bedevere-apphttps://github.com/apps/bedevere-app
Aug 29, 2026https://github.com/python/cpython/pull/155239#issuecomment-5464582197
GH-156608https://github.com/python/cpython/pull/156608
3.15 branchhttps://github.com/python/cpython/tree/3.15
Please reload this pagehttps://github.com/python/cpython/pull/155239
https://github.com/apps/bedevere-app
bedevere-apphttps://github.com/apps/bedevere-app
needs backport to 3.15 https://github.com/python/cpython/issues?q=state%3Aopen%20label%3A%22needs%20backport%20to%203.15%22
Aug 29, 2026https://github.com/python/cpython/pull/155239#event-30219243780
https://github.com/apps/bedevere-app
bedevere-apphttps://github.com/apps/bedevere-app
Aug 29, 2026https://github.com/python/cpython/pull/155239#issuecomment-5464582667
GH-156609https://github.com/python/cpython/pull/156609
3.14 branchhttps://github.com/python/cpython/tree/3.14
Please reload this pagehttps://github.com/python/cpython/pull/155239
https://github.com/apps/bedevere-app
bedevere-apphttps://github.com/apps/bedevere-app
needs backport to 3.14 https://github.com/python/cpython/issues?q=state%3Aopen%20label%3A%22needs%20backport%20to%203.14%22
Aug 29, 2026https://github.com/python/cpython/pull/155239#event-30219245849
https://github.com/apps/bedevere-app
bedevere-apphttps://github.com/apps/bedevere-app
Aug 29, 2026https://github.com/python/cpython/pull/155239#issuecomment-5464583185
GH-156610https://github.com/python/cpython/pull/156610
3.13 branchhttps://github.com/python/cpython/tree/3.13
Please reload this pagehttps://github.com/python/cpython/pull/155239
https://github.com/apps/bedevere-app
bedevere-apphttps://github.com/apps/bedevere-app
needs backport to 3.13 https://github.com/python/cpython/issues?q=state%3Aopen%20label%3A%22needs%20backport%20to%203.13%22
Aug 29, 2026https://github.com/python/cpython/pull/155239#event-30219247779
serhiy-storchakahttps://github.com/serhiy-storchaka
Aug 29, 2026 https://github.com/python/cpython/pull/155239#ref-commit-d7339b4
https://github.com/miss-islington
https://github.com/serhiy-storchaka
https://github.com/claude
[3.14]https://github.com/python/cpython/commit/d7339b4ad284a69a55df3db9a7c34881c4fa4202
gh-69371https://github.com/python/cpython/issues/69371
: Fix pydoc for modules whose path contains undecodabl…https://github.com/python/cpython/commit/d7339b4ad284a69a55df3db9a7c34881c4fa4202
d7339b4https://github.com/python/cpython/commit/d7339b4ad284a69a55df3db9a7c34881c4fa4202
GH-155239https://github.com/python/cpython/pull/155239
GH-156609https://github.com/python/cpython/pull/156609
c8ca336https://github.com/python/cpython/commit/c8ca336e6b321a4ff680ea426cc8a84bfb599bd2
clin1234https://github.com/clin1234
Sep 12, 2026 https://github.com/python/cpython/pull/155239#ref-commit-06170da
https://github.com/serhiy-storchaka
https://github.com/claude
https://github.com/clin1234
pythongh-69371https://github.com/python/cpython/issues/69371
: Fix pydoc for modules whose path contains undecodable…https://github.com/clin1234/cpython/commit/06170da247b56ea03d23630f01a8666d151644cf
06170dahttps://github.com/clin1234/cpython/commit/06170da247b56ea03d23630f01a8666d151644cf
pythonGH-155239https://github.com/python/cpython/pull/155239
serhiy-storchakahttps://github.com/serhiy-storchaka
Sep 13, 2026 https://github.com/python/cpython/pull/155239#ref-commit-50f66bf
https://github.com/miss-islington
https://github.com/serhiy-storchaka
https://github.com/claude
[3.13]https://github.com/python/cpython/commit/50f66bffe64f41e58c94dba444702d6b37e6c610
gh-69371https://github.com/python/cpython/issues/69371
: Fix pydoc for modules whose path contains undecodabl…https://github.com/python/cpython/commit/50f66bffe64f41e58c94dba444702d6b37e6c610
50f66bfhttps://github.com/python/cpython/commit/50f66bffe64f41e58c94dba444702d6b37e6c610
GH-155239https://github.com/python/cpython/pull/155239
GH-156610https://github.com/python/cpython/pull/156610
c8ca336https://github.com/python/cpython/commit/c8ca336e6b321a4ff680ea426cc8a84bfb599bd2
serhiy-storchakahttps://github.com/serhiy-storchaka
Oct 10, 2026 https://github.com/python/cpython/pull/155239#ref-commit-3e758f2
https://github.com/miss-islington
https://github.com/serhiy-storchaka
https://github.com/claude
[3.15]https://github.com/python/cpython/commit/3e758f2c4165d695a510e7019f648513017ad3ec
gh-69371https://github.com/python/cpython/issues/69371
: Fix pydoc for modules whose path contains undecodabl…https://github.com/python/cpython/commit/3e758f2c4165d695a510e7019f648513017ad3ec
3e758f2https://github.com/python/cpython/commit/3e758f2c4165d695a510e7019f648513017ad3ec
GH-155239https://github.com/python/cpython/pull/155239
GH-156608https://github.com/python/cpython/pull/156608
c8ca336https://github.com/python/cpython/commit/c8ca336e6b321a4ff680ea426cc8a84bfb599bd2
https://github.co/hiddenchars
https://github.com/python/cpython/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%2Fcpython%2Fpull%2F155239
https://github.com/AA-Turner
AA-Turner https://github.com/AA-Turner
Please reload this pagehttps://github.com/python/cpython/pull/155239
stdlib https://github.com/python/cpython/issues?q=state%3Aopen%20label%3Astdlib
type-bug https://github.com/python/cpython/issues?q=state%3Aopen%20label%3Atype-bug
Please reload this pagehttps://github.com/python/cpython/pull/155239
https://github.com/serhiy-storchaka
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.