René's URL Explorer Experiment


Title: gh-156070: Fix operator precedence in multiprocessing's batched Windows wait by ekanshul · Pull Request #156071 · python/cpython · GitHub

Open Graph Title: gh-156070: Fix operator precedence in multiprocessing's batched Windows wait by ekanshul · Pull Request #156071 · python/cpython

X Title: gh-156070: Fix operator precedence in multiprocessing's batched Windows wait by ekanshul · Pull Request #156071 · python/cpython

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

Open Graph Description: In the Windows branch of multiprocessing.connection._exhaustive_wait() that handles more than 60 handles, the filter L = [h for i, h in enumerate(L) if i > res[0] & i not in res] parses as i...

X Description: In the Windows branch of multiprocessing.connection._exhaustive_wait() that handles more than 60 handles, the filter L = [h for i, h in enumerate(L) if i > res[0] & i not in res] par...

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

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:bd376ab8-0bbb-47d3-ef1a-de656766e858
current-catalog-service-hashae870bc5e265a340912cde392f23dad3671a0a881730ffdadd82f2f57d81641b
request-id968C:2D40DE:372A892:4631469:6B022C20
html-safe-noncef597153a8f7415aad5b004489091452672ce710bb0f2ed858013cea2ca05069e
visitor-payloadeyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiI5NjhDOjJENDBERTozNzJBODkyOjQ2MzE0Njk6NkIwMjJDMjAiLCJ2aXNpdG9yX2lkIjoiNjIwODAxMjkxMDY1ODY2NTYiLCJyZWdpb25fZWRnZSI6ImlhZCIsInJlZ2lvbl9yZW5kZXIiOiJpYWQifQ==
visitor-hmacae55986a249a22c93bba4072d88ea57e33d29312573b4f88e9325a28c6a95f5a
hovercard-subject-tagpull_request:4317524518
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/156071/pull_request_layout
twitter:imagehttps://opengraph.githubassets.com/5d7fd59c54390d3ee98f00f748c15e3a3bd8ee295e341a57cc5999e5d590a8bd/python/cpython/pull/156071
twitter:cardsummary_large_image
og:imagehttps://opengraph.githubassets.com/5d7fd59c54390d3ee98f00f748c15e3a3bd8ee295e341a57cc5999e5d590a8bd/python/cpython/pull/156071
og:image:altIn the Windows branch of multiprocessing.connection._exhaustive_wait() that handles more than 60 handles, the filter L = [h for i, h in enumerate(L) if i > res[0] & i not in res] parses as i...
og:image:width1200
og:image:height600
og:site_nameGitHub
og:typeobject
og:author:usernameekanshul
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/156071#start-of-content
https://github.com/
Sign inhttps://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fpython%2Fcpython%2Fpull%2F156071
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%2F156071
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/156071
Reloadhttps://github.com/python/cpython/pull/156071
Reloadhttps://github.com/python/cpython/pull/156071
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
ekanshulhttps://github.com/ekanshul
python:mainhttps://github.com/python/cpython/tree/main
ekanshul:fix-exhaustive-wait-precedencehttps://github.com/ekanshul/cpython/tree/fix-exhaustive-wait-precedence
Conversationhttps://github.com/python/cpython/pull/156071
Commits3 (3)https://github.com/python/cpython/pull/156071/commits
Checkshttps://github.com/python/cpython/pull/156071/checks
Files changedhttps://github.com/python/cpython/pull/156071/files
gh-156070: Fix operator precedence in multiprocessing's batched Windows waithttps://github.com/python/cpython/pull/156071#top
ekanshulhttps://github.com/ekanshul
python:mainhttps://github.com/python/cpython/tree/main
ekanshul:fix-exhaustive-wait-precedencehttps://github.com/ekanshul/cpython/tree/fix-exhaustive-wait-precedence
https://github.com/ekanshul
ekanshulhttps://github.com/ekanshul
Aug 19, 2026https://github.com/python/cpython/pull/156071#issue-5197102315
multiprocessing.connection._exhaustive_wait: & used instead of and when filtering ready handles on Windows #156070https://github.com/python/cpython/issues/156070
Please reload this pagehttps://github.com/python/cpython/pull/156071
https://github.com/ekanshul
https://github.com/claude
pythongh-156070https://github.com/python/cpython/issues/156070
: Usehttps://github.com/python/cpython/pull/156071/commits/3006c106a6ac0b2ead3400e95627db3a28533ac0
andhttps://github.com/python/cpython/pull/156071/commits/3006c106a6ac0b2ead3400e95627db3a28533ac0
instead ofhttps://github.com/python/cpython/pull/156071/commits/3006c106a6ac0b2ead3400e95627db3a28533ac0
&https://github.com/python/cpython/pull/156071/commits/3006c106a6ac0b2ead3400e95627db3a28533ac0
in multiprocessing's ba…https://github.com/python/cpython/pull/156071/commits/3006c106a6ac0b2ead3400e95627db3a28533ac0
3006c10https://github.com/python/cpython/pull/156071/commits/3006c106a6ac0b2ead3400e95627db3a28533ac0
https://github.com/ekanshul
ekanshulhttps://github.com/ekanshul
gpsheadhttps://github.com/gpshead
code ownerhttps://github.com/python/cpython/blob/bf95881b84662d3dcd35143495b9880962164fee/.github/CODEOWNERS#L523
August 19, 2026 21:00https://github.com/python/cpython/pull/156071#event-29707717523
https://github.com/apps/python-cla-bot
python-cla-bothttps://github.com/apps/python-cla-bot
Aug 19, 2026https://github.com/python/cpython/pull/156071#issuecomment-5347943113
Please reload this pagehttps://github.com/python/cpython/pull/156071
https://cla.python.org/
Please reload this pagehttps://github.com/python/cpython/pull/156071
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
Aug 19, 2026https://github.com/python/cpython/pull/156071#event-29707722693
https://github.com/apps/bedevere-app
bedevere-apphttps://github.com/apps/bedevere-app
Aug 19, 2026 https://github.com/python/cpython/pull/156071#ref-issue-5197096998
multiprocessing.connection._exhaustive_wait: & used instead of and when filtering ready handles on Windows #156070 https://github.com/python/cpython/issues/156070
https://github.com/picnixz
picnixzhttps://github.com/picnixz
Aug 19, 2026 https://github.com/python/cpython/pull/156071#pullrequestreview-4976766074
View reviewed changes https://github.com/python/cpython/pull/156071/files/3006c106a6ac0b2ead3400e95627db3a28533ac0
picnixzhttps://github.com/picnixz
https://github.com/python/cpython/pull/156071#pullrequestreview-4976766074
Learn morehttps://docs.github.com/articles/managing-disruptive-comments/#hiding-a-comment
Please reload this pagehttps://github.com/python/cpython/pull/156071
Misc/NEWS.d/next/Library/2026-08-19-21-00-25.gh-issue-156070.fwmRPu.rsthttps://github.com/python/cpython/pull/156071/files/3006c106a6ac0b2ead3400e95627db3a28533ac0#diff-8f0ca384c6b1a8ca9a66c61cc045d12154842881f28a7e5de942c4874da643a2
picnixzhttps://github.com/picnixz
Aug 19, 2026https://github.com/python/cpython/pull/156071#discussion_r3816734591
Learn morehttps://docs.github.com/articles/managing-disruptive-comments/#hiding-a-comment
Please reload this pagehttps://github.com/python/cpython/pull/156071
ekanshulhttps://github.com/ekanshul
Aug 20, 2026https://github.com/python/cpython/pull/156071#discussion_r3824581441
Learn morehttps://docs.github.com/articles/managing-disruptive-comments/#hiding-a-comment
Please reload this pagehttps://github.com/python/cpython/pull/156071
https://github.com/apps/bedevere-app
bedevere-apphttps://github.com/apps/bedevere-app
awaiting changes https://github.com/python/cpython/issues?q=state%3Aopen%20label%3A%22awaiting%20changes%22
awaiting review https://github.com/python/cpython/issues?q=state%3Aopen%20label%3A%22awaiting%20review%22
Aug 19, 2026https://github.com/python/cpython/pull/156071#event-29708102354
https://github.com/apps/bedevere-app
bedevere-apphttps://github.com/apps/bedevere-app
Aug 19, 2026https://github.com/python/cpython/pull/156071#issuecomment-5348029748
Please reload this pagehttps://github.com/python/cpython/pull/156071
https://github.com/ekanshul
https://github.com/claude
Add a regression test and reword the NEWS entryhttps://github.com/python/cpython/pull/156071/commits/d30221ef402778d61eb73eb911965b80274b5976
d30221ehttps://github.com/python/cpython/pull/156071/commits/d30221ef402778d61eb73eb911965b80274b5976
https://github.com/ekanshul
ekanshulhttps://github.com/ekanshul
Aug 20, 2026https://github.com/python/cpython/pull/156071#issuecomment-5360513531
Please reload this pagehttps://github.com/python/cpython/pull/156071
https://github.com/apps/bedevere-app
bedevere-apphttps://github.com/apps/bedevere-app
awaiting change review https://github.com/python/cpython/issues?q=state%3Aopen%20label%3A%22awaiting%20change%20review%22
awaiting changes https://github.com/python/cpython/issues?q=state%3Aopen%20label%3A%22awaiting%20changes%22
Aug 20, 2026https://github.com/python/cpython/pull/156071#event-29763776849
https://github.com/apps/bedevere-app
bedevere-apphttps://github.com/apps/bedevere-app
Aug 20, 2026https://github.com/python/cpython/pull/156071#issuecomment-5360514691
@picnixzhttps://github.com/picnixz
Please reload this pagehttps://github.com/python/cpython/pull/156071
https://github.com/apps/bedevere-app
bedevere-apphttps://github.com/apps/bedevere-app
picnixzhttps://github.com/picnixz
August 20, 2026 19:11https://github.com/python/cpython/pull/156071#event-29763780325
https://github.com/ekanshul
https://github.com/claude
Fix the regression test's wait timeout and signalled indiceshttps://github.com/python/cpython/pull/156071/commits/158146497f0fa324604006194472c4c09fc90a42
1581464https://github.com/python/cpython/pull/156071/commits/158146497f0fa324604006194472c4c09fc90a42
https://github.com/ekanshul
ekanshulhttps://github.com/ekanshul
Aug 20, 2026https://github.com/python/cpython/pull/156071#issuecomment-5360741444
Please reload this pagehttps://github.com/python/cpython/pull/156071
https://github.com/picnixz
picnixzhttps://github.com/picnixz
Aug 20, 2026https://github.com/python/cpython/pull/156071#issuecomment-5360801413
Please reload this pagehttps://github.com/python/cpython/pull/156071
Please reload this pagehttps://github.com/python/cpython/pull/156071
https://github.com/ekanshul
ekanshulhttps://github.com/ekanshul
Sep 11, 2026https://github.com/python/cpython/pull/156071#issuecomment-5639793074
#156063https://github.com/python/cpython/pull/156063
#156065https://github.com/python/cpython/pull/156065
Please reload this pagehttps://github.com/python/cpython/pull/156071
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%2F156071
https://github.com/gpshead
gpshead https://github.com/gpshead
https://github.com/picnixz
picnixz https://github.com/picnixz
Please reload this pagehttps://github.com/python/cpython/pull/156071
awaiting change review https://github.com/python/cpython/issues?q=state%3Aopen%20label%3A%22awaiting%20change%20review%22
Please reload this pagehttps://github.com/python/cpython/pull/156071
https://github.com/ekanshul
https://github.com/picnixz
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.