René's URL Explorer Experiment


Title: gh-109237: Fix test_site for non-ASCII working directory by vstinner · Pull Request #109238 · python/cpython · GitHub

Open Graph Title: gh-109237: Fix test_site for non-ASCII working directory by vstinner · Pull Request #109238 · python/cpython

X Title: gh-109237: Fix test_site for non-ASCII working directory by vstinner · Pull Request #109238 · python/cpython

Description: Fix test_site.test_underpth_basic() when the working directory contains at least one non-ASCII character: encode the "._pth" file to UTF-8 and enable the UTF-8 Mode to use UTF-8 for the child proce...

Open Graph Description: Fix test_site.test_underpth_basic() when the working directory contains at least one non-ASCII character: encode the "._pth" file to UTF-8 and enable the UTF-8 Mode to use UTF-8 for the c...

X Description: Fix test_site.test_underpth_basic() when the working directory contains at least one non-ASCII character: encode the "._pth" file to UTF-8 and enable the UTF-8 Mode to use UTF-8 f...

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

X: @github

direct link

Domain: github.com

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:8e6ad3f6-afe3-c31d-3a2d-aa14c5a30d63
current-catalog-service-hashae870bc5e265a340912cde392f23dad3671a0a881730ffdadd82f2f57d81641b
request-idC96C:22DEEF:2A38D44:38EF5F5:696AE952
html-safe-nonce6741bcffee888abc9f85fb39365f42bbd825c4388095be9b8a29f181ed8cd03e
visitor-payloadeyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJDOTZDOjIyREVFRjoyQTM4RDQ0OjM4RUY1RjU6Njk2QUU5NTIiLCJ2aXNpdG9yX2lkIjoiMTc3NTE0OTI5Mjc0NjEwNzIxOCIsInJlZ2lvbl9lZGdlIjoiaWFkIiwicmVnaW9uX3JlbmRlciI6ImlhZCJ9
visitor-hmacc6953afa88cda8d7dca2897f851b7bcecbacec1f7e53900464dc413cd7e8bbcd
hovercard-subject-tagpull_request:1509275378
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/109238/pull_request_layout
twitter:imagehttps://opengraph.githubassets.com/438731ade5b4bfc081cb29949b5d44f4c369166251128cb3631dbc78f93d8b72/python/cpython/pull/109238
twitter:cardsummary_large_image
og:imagehttps://opengraph.githubassets.com/438731ade5b4bfc081cb29949b5d44f4c369166251128cb3631dbc78f93d8b72/python/cpython/pull/109238
og:image:altFix test_site.test_underpth_basic() when the working directory contains at least one non-ASCII character: encode the "._pth" file to UTF-8 and enable the UTF-8 Mode to use UTF-8 for the c...
og:image:width1200
og:image:height600
og:site_nameGitHub
og:typeobject
og:author:usernamevstinner
hostnamegithub.com
expected-hostnamegithub.com
None5f99f7c1d70f01da5b93e5ca90303359738944d8ab470e396496262c66e60b8d
turbo-cache-controlno-preview
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
release82560a55c6b2054555076f46e683151ee28a19bc
ui-targetfull
theme-color#1e2327
color-schemelight dark

Links:

Skip to contenthttps://github.com/python/cpython/pull/109238#start-of-content
https://github.com/
Sign in https://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fpython%2Fcpython%2Fpull%2F109238
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%2F109238
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%2Fvoltron%2Fpull_requests_fragments%2Fpull_request_layout&source=header-repo&source_repo=python%2Fcpython
Reloadhttps://github.com/python/cpython/pull/109238
Reloadhttps://github.com/python/cpython/pull/109238
Reloadhttps://github.com/python/cpython/pull/109238
python https://github.com/python
cpythonhttps://github.com/python/cpython
Please reload this pagehttps://github.com/python/cpython/pull/109238
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/109238
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
Sign up for GitHub https://github.com/signup?return_to=%2Fpython%2Fcpython%2Fissues%2Fnew%2Fchoose
terms of servicehttps://docs.github.com/terms
privacy statementhttps://docs.github.com/privacy
Sign inhttps://github.com/login?return_to=%2Fpython%2Fcpython%2Fissues%2Fnew%2Fchoose
Jump to bottomhttps://github.com/python/cpython/pull/109238#issue-comment-box
vstinnerhttps://github.com/vstinner
python:mainhttps://github.com/python/cpython/tree/main
vstinner:test_sitehttps://github.com/vstinner/cpython/tree/test_site
gh-109237: Fix test_site for non-ASCII working directory https://github.com/python/cpython/pull/109238#top
vstinnerhttps://github.com/vstinner
python:mainhttps://github.com/python/cpython/tree/main
vstinner:test_sitehttps://github.com/vstinner/cpython/tree/test_site
Conversation 3 https://github.com/python/cpython/pull/109238
Commits 1 https://github.com/python/cpython/pull/109238/commits
Checks 0 https://github.com/python/cpython/pull/109238/checks
Files changed https://github.com/python/cpython/pull/109238/files
Please reload this pagehttps://github.com/python/cpython/pull/109238
https://github.co/hiddenchars
https://github.com/python/cpython/pull/{{ revealButtonHref }}
https://github.com/vstinner
vstinnerhttps://github.com/vstinner
Sep 10, 2023https://github.com/python/cpython/pull/109238#issue-1889314437
Please reload this pagehttps://github.com/python/cpython/pull/109238
test_site: test_underpth_basic() fails if the current directory is non-ASCII #109237https://github.com/python/cpython/issues/109237
Please reload this pagehttps://github.com/python/cpython/pull/109238
https://github.com/vstinner
pythongh-109237https://github.com/python/cpython/issues/109237
: Fix test_site for non-ASCII working directoryhttps://github.com/python/cpython/pull/109238/commits/ca836963651e71ee7d3a34c61e22ac1794ad6fcb
ca83696https://github.com/python/cpython/pull/109238/commits/ca836963651e71ee7d3a34c61e22ac1794ad6fcb
https://github.com/vstinner
vstinnerhttps://github.com/vstinner
needs backport to 3.11 https://github.com/python/cpython/issues?q=state%3Aopen%20label%3A%22needs%20backport%20to%203.11%22
needs backport to 3.12 https://github.com/python/cpython/issues?q=state%3Aopen%20label%3A%22needs%20backport%20to%203.12%22
Sep 10, 2023https://github.com/python/cpython/pull/109238#event-10327221237
https://github.com/bedevere-bot
bedevere-bothttps://github.com/bedevere-bot
awaiting core review https://github.com/python/cpython/issues?q=state%3Aopen%20label%3A%22awaiting%20core%20review%22
tests https://github.com/python/cpython/issues?q=state%3Aopen%20label%3Atests
Sep 10, 2023https://github.com/python/cpython/pull/109238#event-10327221304
https://github.com/bedevere-bot
bedevere-bothttps://github.com/bedevere-bot
Sep 10, 2023 https://github.com/python/cpython/pull/109238#ref-issue-1889313676
test_site: test_underpth_basic() fails if the current directory is non-ASCII #109237 https://github.com/python/cpython/issues/109237
https://github.com/vstinner
vstinnerhttps://github.com/vstinner
September 10, 2023 20:34https://github.com/python/cpython/pull/109238#event-10327224283
https://github.com/vstinner
vstinnerhttps://github.com/vstinner
Sep 10, 2023 https://github.com/python/cpython/pull/109238#ref-issue-1819484579
test_concurrent_futures.test_deadlock: test_crash_big_data() hangs randomly on Windows #107219 https://github.com/python/cpython/issues/107219
https://github.com/vstinner
vstinnerhttps://github.com/vstinner
cbb3a6fhttps://github.com/python/cpython/commit/cbb3a6f8ada3d133c3ab9f9465b65067fce5bb42
Sep 10, 2023https://github.com/python/cpython/pull/109238#event-10327389847
https://github.com/vstinner
vstinnerhttps://github.com/vstinner
September 10, 2023 22:04https://github.com/python/cpython/pull/109238#event-10327389878
https://github.com/miss-islington
miss-islingtonhttps://github.com/miss-islington
Sep 10, 2023https://github.com/python/cpython/pull/109238#issuecomment-1712952002
@vstinnerhttps://github.com/vstinner
Please reload this pagehttps://github.com/python/cpython/pull/109238
https://github.com/bedevere-bot
bedevere-bothttps://github.com/bedevere-bot
awaiting core review https://github.com/python/cpython/issues?q=state%3Aopen%20label%3A%22awaiting%20core%20review%22
Sep 10, 2023https://github.com/python/cpython/pull/109238#event-10327389946
miss-islingtonhttps://github.com/miss-islington
Sep 10, 2023 https://github.com/python/cpython/pull/109238#ref-commit-97d7a56
https://github.com/vstinner
https://github.com/miss-islington
pythongh-109237https://github.com/python/cpython/issues/109237
: Fix test_site for non-ASCII working directory (https://github.com/miss-islington/cpython/commit/97d7a56e08d8dcf8ba43688a4791f2435839d3ea
pytho…https://github.com/python/cpython/pull/109238
97d7a56https://github.com/miss-islington/cpython/commit/97d7a56e08d8dcf8ba43688a4791f2435839d3ea
…nGH-109238https://github.com/python/cpython/pull/109238
cbb3a6fhttps://github.com/miss-islington/cpython/commit/cbb3a6f8ada3d133c3ab9f9465b65067fce5bb42
https://github.com/bedevere-bot
bedevere-bothttps://github.com/bedevere-bot
Sep 10, 2023https://github.com/python/cpython/pull/109238#issuecomment-1712952030
GH-109239https://github.com/python/cpython/pull/109239
3.12 branchhttps://github.com/python/cpython/tree/3.12
Please reload this pagehttps://github.com/python/cpython/pull/109238
https://github.com/bedevere-bot
bedevere-bothttps://github.com/bedevere-bot
needs backport to 3.12 https://github.com/python/cpython/issues?q=state%3Aopen%20label%3A%22needs%20backport%20to%203.12%22
Sep 10, 2023https://github.com/python/cpython/pull/109238#event-10327390423
https://github.com/bedevere-bot
bedevere-bothttps://github.com/bedevere-bot
Sep 10, 2023https://github.com/python/cpython/pull/109238#issuecomment-1712952065
GH-109240https://github.com/python/cpython/pull/109240
3.11 branchhttps://github.com/python/cpython/tree/3.11
Please reload this pagehttps://github.com/python/cpython/pull/109238
https://github.com/bedevere-bot
bedevere-bothttps://github.com/bedevere-bot
needs backport to 3.11 https://github.com/python/cpython/issues?q=state%3Aopen%20label%3A%22needs%20backport%20to%203.11%22
Sep 10, 2023https://github.com/python/cpython/pull/109238#event-10327390759
miss-islingtonhttps://github.com/miss-islington
Sep 10, 2023 https://github.com/python/cpython/pull/109238#ref-commit-3090115
https://github.com/vstinner
https://github.com/miss-islington
pythongh-109237https://github.com/python/cpython/issues/109237
: Fix test_site for non-ASCII working directory (https://github.com/miss-islington/cpython/commit/3090115b1bc728f8294976561aafd6078360b1d5
pytho…https://github.com/python/cpython/pull/109238
3090115https://github.com/miss-islington/cpython/commit/3090115b1bc728f8294976561aafd6078360b1d5
…nGH-109238https://github.com/python/cpython/pull/109238
cbb3a6fhttps://github.com/miss-islington/cpython/commit/cbb3a6f8ada3d133c3ab9f9465b65067fce5bb42
vstinnerhttps://github.com/vstinner
Sep 10, 2023 https://github.com/python/cpython/pull/109238#ref-commit-cef4951
https://github.com/miss-islington
https://github.com/vstinner
[3.11]https://github.com/python/cpython/commit/cef4951116744d140dae4e4c12738a1cb99a676e
gh-109237https://github.com/python/cpython/issues/109237
: Fix test_site for non-ASCII working directory (https://github.com/python/cpython/commit/cef4951116744d140dae4e4c12738a1cb99a676e
GH-1…https://github.com/python/cpython/pull/109238
cef4951https://github.com/python/cpython/commit/cef4951116744d140dae4e4c12738a1cb99a676e
…09238https://github.com/python/cpython/pull/109238
#109240https://github.com/python/cpython/pull/109240
gh-109237https://github.com/python/cpython/issues/109237
GH-109238https://github.com/python/cpython/pull/109238
cbb3a6fhttps://github.com/python/cpython/commit/cbb3a6f8ada3d133c3ab9f9465b65067fce5bb42
Yhg1shttps://github.com/Yhg1s
Sep 12, 2023 https://github.com/python/cpython/pull/109238#ref-commit-b361381
https://github.com/miss-islington
https://github.com/vstinner
[3.12]https://github.com/python/cpython/commit/b3613815d4550a611e67a9c97f616c97124b6495
gh-109237https://github.com/python/cpython/issues/109237
: Fix test_site for non-ASCII working directory (https://github.com/python/cpython/commit/b3613815d4550a611e67a9c97f616c97124b6495
GH-1…https://github.com/python/cpython/pull/109238
b361381https://github.com/python/cpython/commit/b3613815d4550a611e67a9c97f616c97124b6495
…09238https://github.com/python/cpython/pull/109238
#109239https://github.com/python/cpython/pull/109239
gh-109237https://github.com/python/cpython/issues/109237
GH-109238https://github.com/python/cpython/pull/109238
cbb3a6fhttps://github.com/python/cpython/commit/cbb3a6f8ada3d133c3ab9f9465b65067fce5bb42
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%2F109238
tests https://github.com/python/cpython/issues?q=state%3Aopen%20label%3Atests
Please reload this pagehttps://github.com/python/cpython/pull/109238
https://github.com/vstinner
https://github.com/miss-islington
https://github.com/bedevere-bot
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.