René's URL Explorer Experiment


Title: gh-134986: Catch PermissionError when trying to call perf in tests by emmatyping · Pull Request #134987 · python/cpython · GitHub

Open Graph Title: gh-134986: Catch PermissionError when trying to call perf in tests by emmatyping · Pull Request #134987 · python/cpython

X Title: gh-134986: Catch PermissionError when trying to call perf in tests by emmatyping · Pull Request #134987 · python/cpython

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

Open Graph Description: Using Ubuntu 24.04 on the Windows Subsystem for Linux, perf will raise a PermissionError instead of FileNotFoundError when it is missing. This PR modifies the tests to catch that. Issue: test_per...

X Description: Using Ubuntu 24.04 on the Windows Subsystem for Linux, perf will raise a PermissionError instead of FileNotFoundError when it is missing. This PR modifies the tests to catch that. Issue: test_per...

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

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:99c10403-3dee-32a2-0338-8966fb0e02e1
current-catalog-service-hashae870bc5e265a340912cde392f23dad3671a0a881730ffdadd82f2f57d81641b
request-idE7D6:B1B84:39519B9:48D116C:6B0232E1
html-safe-nonceab59350476e08c8744bf4cc845de2b828224a0dc5cae92d01c7ac2810a9adaa9
visitor-payloadeyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJFN0Q2OkIxQjg0OjM5NTE5Qjk6NDhEMTE2Qzo2QjAyMzJFMSIsInZpc2l0b3JfaWQiOiIzNzM2NTAwNTIxNDMxODcyMjI1IiwicmVnaW9uX2VkZ2UiOiJpYWQiLCJyZWdpb25fcmVuZGVyIjoiaWFkIn0=
visitor-hmacf52c61a01fdc9357bce5cd06e4a4785da616d5d5c671e98c35b527ddf4a456bc
hovercard-subject-tagpull_request:2557121741
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/134987/pull_request_layout
twitter:imagehttps://opengraph.githubassets.com/55ca9f911a495aabad577cd9ad88b695f59eca9a774179c78e760e4edfb15c8f/python/cpython/pull/134987
twitter:cardsummary_large_image
og:imagehttps://opengraph.githubassets.com/55ca9f911a495aabad577cd9ad88b695f59eca9a774179c78e760e4edfb15c8f/python/cpython/pull/134987
og:image:altUsing Ubuntu 24.04 on the Windows Subsystem for Linux, perf will raise a PermissionError instead of FileNotFoundError when it is missing. This PR modifies the tests to catch that. Issue: test_per...
og:image:width1200
og:image:height600
og:site_nameGitHub
og:typeobject
og:author:usernameemmatyping
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/134987#start-of-content
https://github.com/
Sign inhttps://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fpython%2Fcpython%2Fpull%2F134987
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%2F134987
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/134987
Reloadhttps://github.com/python/cpython/pull/134987
Reloadhttps://github.com/python/cpython/pull/134987
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
vstinnerhttps://github.com/vstinner
python:mainhttps://github.com/python/cpython/tree/main
emmatyping:fix-perf-wslhttps://github.com/emmatyping/cpython/tree/fix-perf-wsl
Conversationhttps://github.com/python/cpython/pull/134987
Commits2 (2)https://github.com/python/cpython/pull/134987/commits
Checkshttps://github.com/python/cpython/pull/134987/checks
Files changedhttps://github.com/python/cpython/pull/134987/files
gh-134986: Catch PermissionError when trying to call perf in testshttps://github.com/python/cpython/pull/134987#top
vstinnerhttps://github.com/vstinner
python:mainhttps://github.com/python/cpython/tree/main
emmatyping:fix-perf-wslhttps://github.com/emmatyping/cpython/tree/fix-perf-wsl
https://github.com/emmatyping
emmatypinghttps://github.com/emmatyping
May 31, 2025https://github.com/python/cpython/pull/134987#issue-3105955297
Please reload this pagehttps://github.com/python/cpython/pull/134987
test_perf_profiler fails under Windows Subsystem for Linux #134986https://github.com/python/cpython/issues/134986
Please reload this pagehttps://github.com/python/cpython/pull/134987
https://github.com/emmatyping
Catch PermissionError when trying to call perf in testshttps://github.com/python/cpython/pull/134987/commits/52a365f8d2b156ab91d2c15e4bc3e1b7746c3875
52a365fhttps://github.com/python/cpython/pull/134987/commits/52a365f8d2b156ab91d2c15e4bc3e1b7746c3875
https://github.com/emmatyping
emmatypinghttps://github.com/emmatyping
skip news https://github.com/python/cpython/issues?q=state%3Aopen%20label%3A%22skip%20news%22
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
May 31, 2025https://github.com/python/cpython/pull/134987#event-17904360063
https://github.com/apps/bedevere-app
bedevere-apphttps://github.com/apps/bedevere-app
awaiting review https://github.com/python/cpython/issues?q=state%3Aopen%20label%3A%22awaiting%20review%22
May 31, 2025https://github.com/python/cpython/pull/134987#event-17904360693
https://github.com/apps/bedevere-app
bedevere-apphttps://github.com/apps/bedevere-app
May 31, 2025 https://github.com/python/cpython/pull/134987#ref-issue-3105947049
test_perf_profiler fails under Windows Subsystem for Linux #134986 https://github.com/python/cpython/issues/134986
https://github.com/apps/bedevere-app
bedevere-apphttps://github.com/apps/bedevere-app
tests https://github.com/python/cpython/issues?q=state%3Aopen%20label%3Atests
May 31, 2025https://github.com/python/cpython/pull/134987#event-17904360707
https://github.com/terryjreedy
terryjreedyhttps://github.com/terryjreedy
May 31, 2025 https://github.com/python/cpython/pull/134987#pullrequestreview-2884568594
View reviewed changes https://github.com/python/cpython/pull/134987/files/52a365f8d2b156ab91d2c15e4bc3e1b7746c3875
Lib/test/test_perf_profiler.pyhttps://github.com/python/cpython/pull/134987/files/52a365f8d2b156ab91d2c15e4bc3e1b7746c3875#diff-393bd6c7690bc93be5bfd793cc5029880538494495e89701503f00d9dad64e58
Please reload this pagehttps://github.com/python/cpython/pull/134987
https://github.com/emmatyping
Add comment about WSL peculiarityhttps://github.com/python/cpython/pull/134987/commits/f0eff9318a6e9457c596620b7633cb5311dad0b2
f0eff93https://github.com/python/cpython/pull/134987/commits/f0eff9318a6e9457c596620b7633cb5311dad0b2
https://github.com/emmatyping
emmatypinghttps://github.com/emmatyping
terryjreedyhttps://github.com/terryjreedy
June 4, 2025 01:53https://github.com/python/cpython/pull/134987#event-17971242717
https://github.com/vstinner
vstinnerhttps://github.com/vstinner
Jun 5, 2025 https://github.com/python/cpython/pull/134987#pullrequestreview-2900908897
View reviewed changes https://github.com/python/cpython/pull/134987/files/f0eff9318a6e9457c596620b7633cb5311dad0b2
vstinnerhttps://github.com/vstinner
https://github.com/python/cpython/pull/134987#pullrequestreview-2900908897
Learn morehttps://docs.github.com/articles/managing-disruptive-comments/#hiding-a-comment
Please reload this pagehttps://github.com/python/cpython/pull/134987
https://github.com/apps/bedevere-app
bedevere-apphttps://github.com/apps/bedevere-app
awaiting merge https://github.com/python/cpython/issues?q=state%3Aopen%20label%3A%22awaiting%20merge%22
awaiting review https://github.com/python/cpython/issues?q=state%3Aopen%20label%3A%22awaiting%20review%22
Jun 5, 2025https://github.com/python/cpython/pull/134987#event-18004772905
https://github.com/itamaro
itamarohttps://github.com/itamaro
Jun 22, 2025 https://github.com/python/cpython/pull/134987#pullrequestreview-2948021507
View reviewed changes https://github.com/python/cpython/pull/134987/files/f0eff9318a6e9457c596620b7633cb5311dad0b2
https://github.com/vstinner
vstinnerhttps://github.com/vstinner
6ab842fhttps://github.com/python/cpython/commit/6ab842fce50a6125797bcddfc4a4b2622aa6c6a9
Jun 23, 2025https://github.com/python/cpython/pull/134987#event-18270653322
https://github.com/apps/miss-islington-app
miss-islington-apphttps://github.com/apps/miss-islington-app
Jun 23, 2025https://github.com/python/cpython/pull/134987#issuecomment-2995864190
@emmatypinghttps://github.com/emmatyping
@vstinnerhttps://github.com/vstinner
Please reload this pagehttps://github.com/python/cpython/pull/134987
https://github.com/apps/bedevere-app
bedevere-apphttps://github.com/apps/bedevere-app
awaiting merge https://github.com/python/cpython/issues?q=state%3Aopen%20label%3A%22awaiting%20merge%22
Jun 23, 2025https://github.com/python/cpython/pull/134987#event-18270653954
miss-islingtonhttps://github.com/miss-islington
Jun 23, 2025 https://github.com/python/cpython/pull/134987#ref-commit-8b16575
https://github.com/emmatyping
https://github.com/miss-islington
pythongh-134986https://github.com/python/cpython/issues/134986
: Catch PermissionError when trying to call perf in te…https://github.com/miss-islington/cpython/commit/8b165758684cecb7b804c7b67e717f1601c63621
8b16575https://github.com/miss-islington/cpython/commit/8b165758684cecb7b804c7b67e717f1601c63621
pythonGH-134987https://github.com/python/cpython/pull/134987
6ab842fhttps://github.com/miss-islington/cpython/commit/6ab842fce50a6125797bcddfc4a4b2622aa6c6a9
https://github.com/apps/bedevere-app
bedevere-apphttps://github.com/apps/bedevere-app
Jun 23, 2025https://github.com/python/cpython/pull/134987#issuecomment-2995864812
GH-135841https://github.com/python/cpython/pull/135841
3.14 branchhttps://github.com/python/cpython/tree/3.14
Please reload this pagehttps://github.com/python/cpython/pull/134987
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
Jun 23, 2025https://github.com/python/cpython/pull/134987#event-18270657787
miss-islingtonhttps://github.com/miss-islington
Jun 23, 2025 https://github.com/python/cpython/pull/134987#ref-commit-0c5f46d
https://github.com/emmatyping
https://github.com/miss-islington
pythongh-134986https://github.com/python/cpython/issues/134986
: Catch PermissionError when trying to call perf in te…https://github.com/miss-islington/cpython/commit/0c5f46d7c6c7cd4f82920e10a3c21dcf02c62c74
0c5f46dhttps://github.com/miss-islington/cpython/commit/0c5f46d7c6c7cd4f82920e10a3c21dcf02c62c74
pythonGH-134987https://github.com/python/cpython/pull/134987
6ab842fhttps://github.com/miss-islington/cpython/commit/6ab842fce50a6125797bcddfc4a4b2622aa6c6a9
https://github.com/apps/bedevere-app
bedevere-apphttps://github.com/apps/bedevere-app
Jun 23, 2025https://github.com/python/cpython/pull/134987#issuecomment-2995865068
GH-135842https://github.com/python/cpython/pull/135842
3.13 branchhttps://github.com/python/cpython/tree/3.13
Please reload this pagehttps://github.com/python/cpython/pull/134987
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
Jun 23, 2025https://github.com/python/cpython/pull/134987#event-18270659351
https://github.com/vstinner
vstinnerhttps://github.com/vstinner
Jun 23, 2025https://github.com/python/cpython/pull/134987#issuecomment-2995866779
Please reload this pagehttps://github.com/python/cpython/pull/134987
vstinnerhttps://github.com/vstinner
Jun 23, 2025 https://github.com/python/cpython/pull/134987#ref-commit-3e81d56
https://github.com/miss-islington
https://github.com/emmatyping
[3.13]https://github.com/python/cpython/commit/3e81d56a1bfd2cc0afc01f1d9c126d286c4943ec
gh-134986https://github.com/python/cpython/issues/134986
: Catch PermissionError when trying to call perf in t…https://github.com/python/cpython/commit/3e81d56a1bfd2cc0afc01f1d9c126d286c4943ec
3e81d56https://github.com/python/cpython/commit/3e81d56a1bfd2cc0afc01f1d9c126d286c4943ec
GH-134987https://github.com/python/cpython/pull/134987
#135842https://github.com/python/cpython/pull/135842
gh-134986https://github.com/python/cpython/issues/134986
GH-134987https://github.com/python/cpython/pull/134987
6ab842fhttps://github.com/python/cpython/commit/6ab842fce50a6125797bcddfc4a4b2622aa6c6a9
vstinnerhttps://github.com/vstinner
Jun 23, 2025 https://github.com/python/cpython/pull/134987#ref-commit-85fbf80
https://github.com/miss-islington
https://github.com/emmatyping
[3.14]https://github.com/python/cpython/commit/85fbf80ca214bdf2e1eb36691bc0e54335c7a09f
gh-134986https://github.com/python/cpython/issues/134986
: Catch PermissionError when trying to call perf in t…https://github.com/python/cpython/commit/85fbf80ca214bdf2e1eb36691bc0e54335c7a09f
85fbf80https://github.com/python/cpython/commit/85fbf80ca214bdf2e1eb36691bc0e54335c7a09f
GH-134987https://github.com/python/cpython/pull/134987
#135841https://github.com/python/cpython/pull/135841
gh-134986https://github.com/python/cpython/issues/134986
GH-134987https://github.com/python/cpython/pull/134987
6ab842fhttps://github.com/python/cpython/commit/6ab842fce50a6125797bcddfc4a4b2622aa6c6a9
AndPuQinghttps://github.com/AndPuQing
Jul 11, 2025 https://github.com/python/cpython/pull/134987#ref-commit-0cc0aee
https://github.com/emmatyping
https://github.com/AndPuQing
pythongh-134986https://github.com/python/cpython/issues/134986
: Catch PermissionError when trying to call perf in te…https://github.com/AndPuQing/cpython/commit/0cc0aeed497a47cb5b392294dafcb3c8c5119a7b
0cc0aeehttps://github.com/AndPuQing/cpython/commit/0cc0aeed497a47cb5b392294dafcb3c8c5119a7b
python#134987https://github.com/python/cpython/pull/134987
Pranjal095https://github.com/Pranjal095
Jul 12, 2025 https://github.com/python/cpython/pull/134987#ref-commit-fa5ce57
https://github.com/emmatyping
https://github.com/Pranjal095
pythongh-134986https://github.com/python/cpython/issues/134986
: Catch PermissionError when trying to call perf in te…https://github.com/Pranjal095/cpython/commit/fa5ce576a592587b8379b93297a8cc8c0b6dfdf5
fa5ce57https://github.com/Pranjal095/cpython/commit/fa5ce576a592587b8379b93297a8cc8c0b6dfdf5
python#134987https://github.com/python/cpython/pull/134987
taegyunkimhttps://github.com/taegyunkim
Aug 4, 2025 https://github.com/python/cpython/pull/134987#ref-commit-de0bb36
https://github.com/emmatyping
https://github.com/taegyunkim
pythongh-134986https://github.com/python/cpython/issues/134986
: Catch PermissionError when trying to call perf in te…https://github.com/taegyunkim/cpython/commit/de0bb3609fde8301c0ac50c45c1c9ab9775d22d2
de0bb36https://github.com/taegyunkim/cpython/commit/de0bb3609fde8301c0ac50c45c1c9ab9775d22d2
python#134987https://github.com/python/cpython/pull/134987
Agent-Hellboyhttps://github.com/Agent-Hellboy
Aug 19, 2025 https://github.com/python/cpython/pull/134987#ref-commit-5e9cbf5
https://github.com/emmatyping
https://github.com/Agent-Hellboy
pythongh-134986https://github.com/python/cpython/issues/134986
: Catch PermissionError when trying to call perf in te…https://github.com/Agent-Hellboy/cpython/commit/5e9cbf56c4518de8275c7a92dd31027c4f06780e
5e9cbf5https://github.com/Agent-Hellboy/cpython/commit/5e9cbf56c4518de8275c7a92dd31027c4f06780e
python#134987https://github.com/python/cpython/pull/134987
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%2F134987
https://github.com/vstinner
vstinner https://github.com/vstinner
https://github.com/python/cpython/pull/134987/files/f0eff9318a6e9457c596620b7633cb5311dad0b2
https://github.com/itamaro
itamaro https://github.com/itamaro
https://github.com/python/cpython/pull/134987/files/f0eff9318a6e9457c596620b7633cb5311dad0b2
https://github.com/terryjreedy
terryjreedy https://github.com/terryjreedy
Please reload this pagehttps://github.com/python/cpython/pull/134987
skip news https://github.com/python/cpython/issues?q=state%3Aopen%20label%3A%22skip%20news%22
tests https://github.com/python/cpython/issues?q=state%3Aopen%20label%3Atests
Please reload this pagehttps://github.com/python/cpython/pull/134987
https://github.com/emmatyping
https://github.com/vstinner
https://github.com/itamaro
https://github.com/terryjreedy
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.