René's URL Explorer Experiment


Title: bpo-35310: Clear select() lists before returning upon EINTR by oranav · Pull Request #10877 · python/cpython · GitHub

Open Graph Title: bpo-35310: Clear select() lists before returning upon EINTR by oranav · Pull Request #10877 · python/cpython

X Title: bpo-35310: Clear select() lists before returning upon EINTR by oranav · Pull Request #10877 · python/cpython

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

Open Graph Description: select() calls are retried on EINTR (per PEP 475). However, if a timeout was provided and the deadline has passed after running the signal handlers, we should clear rlist, wlist and xlist since se...

X Description: select() calls are retried on EINTR (per PEP 475). However, if a timeout was provided and the deadline has passed after running the signal handlers, we should clear rlist, wlist and xlist since se...

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

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:889a1d04-114b-dcb9-bb27-e5f3e645c1e3
current-catalog-service-hashae870bc5e265a340912cde392f23dad3671a0a881730ffdadd82f2f57d81641b
request-idD4B8:362FC4:AD120C6:B0686DB:6A50B332
html-safe-noncec94597c65b03dff19db58032e2b0f7efa3efcd4fe8f02ea7a109561d91e87c5f
visitor-payloadeyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJENEI4OjM2MkZDNDpBRDEyMEM2OkIwNjg2REI6NkE1MEIzMzIiLCJ2aXNpdG9yX2lkIjoiMzA0Nzg1ODc4Mzg3MzE4NDU2MiIsInJlZ2lvbl9lZGdlIjoic2VhIiwicmVnaW9uX3JlbmRlciI6InNlYSJ9
visitor-hmacf4c1be84c64f568f6e3cd1473954459f3e1303235e9e8c2f86e4e49d12f98991
hovercard-subject-tagpull_request:235588705
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/10877/pull_request_layout
twitter:imagehttps://opengraph.githubassets.com/efbd6234e9907f74a4cf74808cc27334e87b903cdb8be291dab6a5db8f423ba8/python/cpython/pull/10877
twitter:cardsummary_large_image
og:imagehttps://opengraph.githubassets.com/efbd6234e9907f74a4cf74808cc27334e87b903cdb8be291dab6a5db8f423ba8/python/cpython/pull/10877
og:image:altselect() calls are retried on EINTR (per PEP 475). However, if a timeout was provided and the deadline has passed after running the signal handlers, we should clear rlist, wlist and xlist since se...
og:image:width1200
og:image:height600
og:site_nameGitHub
og:typeobject
og:author:usernameoranav
hostnamegithub.com
expected-hostnamegithub.com
None63772747707af4093f0d5fc7aa1bb3bb55f412a9865207c4f421aa34c64cc404
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
releaseded53fe94e3ff1bb4dbf8cc77e285396c92580fb
ui-targetfull
theme-color#1e2327
color-schemelight dark

Links:

Skip to contenthttps://github.com/python/cpython/pull/10877#start-of-content
https://github.com/
Sign in https://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fpython%2Fcpython%2Fpull%2F10877
GitHub CopilotWrite better code with AIhttps://github.com/features/copilot
GitHub Copilot appDirect agents from issue to mergehttps://github.com/features/ai/github-app
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
View all resourceshttps://github.com/resources
GitHub SponsorsFund open source developershttps://github.com/open-source/sponsors
Security Labhttps://securitylab.github.com
Maintainer Communityhttps://maintainers.github.com
Acceleratorhttps://github.com/open-source/accelerator
GitHub Starshttps://stars.github.com
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/enterprise/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%2F10877
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/10877
Reloadhttps://github.com/python/cpython/pull/10877
Reloadhttps://github.com/python/cpython/pull/10877
Please reload this pagehttps://github.com/python/cpython/pull/10877
python https://github.com/python
cpythonhttps://github.com/python/cpython
Please reload this pagehttps://github.com/python/cpython/pull/10877
Notifications https://github.com/login?return_to=%2Fpython%2Fcpython
Fork 35k https://github.com/login?return_to=%2Fpython%2Fcpython
Star 73.7k 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.3k https://github.com/python/cpython/pulls
Actions https://github.com/python/cpython/actions
Projects https://github.com/python/cpython/projects
Security and quality 0 https://github.com/python/cpython/security
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 and quality https://github.com/python/cpython/security
Insights https://github.com/python/cpython/pulse
vstinnerhttps://github.com/vstinner
python:masterhttps://github.com/python/cpython/tree/master
oranav:fix-bpo-35310-empty-listshttps://github.com/oranav/cpython/tree/fix-bpo-35310-empty-lists
Conversationhttps://github.com/python/cpython/pull/10877
Commits1 (1)https://github.com/python/cpython/pull/10877/commits
Checkshttps://github.com/python/cpython/pull/10877/checks
Files changedhttps://github.com/python/cpython/pull/10877/files
bpo-35310: Clear select() lists before returning upon EINTRhttps://github.com/python/cpython/pull/10877#top
vstinnerhttps://github.com/vstinner
python:masterhttps://github.com/python/cpython/tree/master
oranav:fix-bpo-35310-empty-listshttps://github.com/oranav/cpython/tree/fix-bpo-35310-empty-lists
https://github.com/oranav
oranavhttps://github.com/oranav
Dec 3, 2018https://github.com/python/cpython/pull/10877#issue-387000825
Please reload this pagehttps://github.com/python/cpython/pull/10877
https://bugs.python.org/issue35310https://bugs.python.org/issue35310
Please reload this pagehttps://github.com/python/cpython/pull/10877
https://github.com/the-knights-who-say-ni
the-knights-who-say-nihttps://github.com/the-knights-who-say-ni
CLA signed https://github.com/python/cpython/issues?q=state%3Aopen%20label%3A%22CLA%20signed%22
Dec 3, 2018https://github.com/python/cpython/pull/10877#event-2002564336
https://github.com/bedevere-bot
bedevere-bothttps://github.com/bedevere-bot
awaiting review https://github.com/python/cpython/issues?q=state%3Aopen%20label%3A%22awaiting%20review%22
Dec 3, 2018https://github.com/python/cpython/pull/10877#event-2002564353
https://github.com/oranav
oranavhttps://github.com/oranav
Dec 3, 2018 https://github.com/python/cpython/pull/10877#ref-pullrequest-384085628
bpo-35310: Retry select() calls on EINTR even if deadline has passed #10700 https://github.com/python/cpython/pull/10700
https://github.com/oranav
oranavhttps://github.com/oranav
Dec 3, 2018https://github.com/python/cpython/pull/10877#issuecomment-443866628
#10700https://github.com/python/cpython/pull/10700
Please reload this pagehttps://github.com/python/cpython/pull/10877
https://github.com/vstinner
vstinnerhttps://github.com/vstinner
Dec 3, 2018 https://github.com/python/cpython/pull/10877#pullrequestreview-181030043
View reviewed changes https://github.com/python/cpython/pull/10877/files
Misc/NEWS.d/next/Library/2018-12-03-19-45-00.bpo-35310.9k28gR.rsthttps://github.com/python/cpython/pull/10877/files#diff-0582ee9674d80f19b2e185b52343da6e34314d22863852958a04cf6cf69ceb1c
Please reload this pagehttps://github.com/python/cpython/pull/10877
https://github.com/oranav
oranavhttps://github.com/oranav
force-pushedhttps://github.com/python/cpython/compare/f681e13acb1ef497589729f25169231cfd76cf3c..d6d788efdbcd597ad181e4809c65c88c0e8875a8
f681e13https://github.com/python/cpython/commit/f681e13acb1ef497589729f25169231cfd76cf3c
d6d788ehttps://github.com/python/cpython/commit/d6d788efdbcd597ad181e4809c65c88c0e8875a8
Compare https://github.com/python/cpython/compare/f681e13acb1ef497589729f25169231cfd76cf3c..d6d788efdbcd597ad181e4809c65c88c0e8875a8
December 4, 2018 13:06https://github.com/python/cpython/pull/10877#event-2004216396
https://github.com/vstinner
vstinnerhttps://github.com/vstinner
Dec 4, 2018 https://github.com/python/cpython/pull/10877#pullrequestreview-181290196
View reviewed changes https://github.com/python/cpython/pull/10877/files
Modules/selectmodule.chttps://github.com/python/cpython/pull/10877/files#diff-1b355c9727316ead32069160a2974d6a4cf4d4b01e29901e60983fe45733ba35
Please reload this pagehttps://github.com/python/cpython/pull/10877
https://github.com/oranav
oranavhttps://github.com/oranav
force-pushedhttps://github.com/python/cpython/compare/d6d788efdbcd597ad181e4809c65c88c0e8875a8..7f55aa019af4f7dfaed86f57460e0e037fa35b3e
d6d788ehttps://github.com/python/cpython/commit/d6d788efdbcd597ad181e4809c65c88c0e8875a8
7f55aa0https://github.com/python/cpython/commit/7f55aa019af4f7dfaed86f57460e0e037fa35b3e
Compare https://github.com/python/cpython/compare/d6d788efdbcd597ad181e4809c65c88c0e8875a8..7f55aa019af4f7dfaed86f57460e0e037fa35b3e
December 4, 2018 22:32https://github.com/python/cpython/pull/10877#event-2005658688
https://github.com/oranav
oranavhttps://github.com/oranav
Dec 5, 2018https://github.com/python/cpython/pull/10877#issuecomment-444420708
@vstinnerhttps://github.com/vstinner
Please reload this pagehttps://github.com/python/cpython/pull/10877
https://github.com/vstinner
vstinnerhttps://github.com/vstinner
Dec 5, 2018https://github.com/python/cpython/pull/10877#issuecomment-444443397
https://mail.python.org/pipermail/python-dev/2018-December/155928.htmlhttps://mail.python.org/pipermail/python-dev/2018-December/155928.html
Please reload this pagehttps://github.com/python/cpython/pull/10877
https://github.com/oranav
bpo-35310: Clear select() lists before returning upon EINTRhttps://github.com/python/cpython/pull/10877/commits/76ad1e94b6320584a75579e8d8fce4642abb0b5a
76ad1e9https://github.com/python/cpython/pull/10877/commits/76ad1e94b6320584a75579e8d8fce4642abb0b5a
https://github.com/oranav
oranavhttps://github.com/oranav
force-pushedhttps://github.com/python/cpython/compare/7f55aa019af4f7dfaed86f57460e0e037fa35b3e..76ad1e94b6320584a75579e8d8fce4642abb0b5a
7f55aa0https://github.com/python/cpython/commit/7f55aa019af4f7dfaed86f57460e0e037fa35b3e
76ad1e9https://github.com/python/cpython/commit/76ad1e94b6320584a75579e8d8fce4642abb0b5a
Compare https://github.com/python/cpython/compare/7f55aa019af4f7dfaed86f57460e0e037fa35b3e..76ad1e94b6320584a75579e8d8fce4642abb0b5a
December 5, 2018 12:38https://github.com/python/cpython/pull/10877#event-2006990593
https://github.com/oranav
oranavhttps://github.com/oranav
Dec 5, 2018https://github.com/python/cpython/pull/10877#issuecomment-444606480
Please reload this pagehttps://github.com/python/cpython/pull/10877
https://github.com/vstinner
vstinnerhttps://github.com/vstinner
7f52415https://github.com/python/cpython/commit/7f52415a6d4841d77d3b7853e83b25a22e0048dc
Dec 5, 2018https://github.com/python/cpython/pull/10877#event-2008209959
https://github.com/bedevere-bot
bedevere-bothttps://github.com/bedevere-bot
awaiting review https://github.com/python/cpython/issues?q=state%3Aopen%20label%3A%22awaiting%20review%22
Dec 5, 2018https://github.com/python/cpython/pull/10877#event-2008210024
https://github.com/vstinner
vstinnerhttps://github.com/vstinner
needs backport to 3.6 https://github.com/python/cpython/issues?q=state%3Aopen%20label%3A%22needs%20backport%20to%203.6%22
Dec 5, 2018https://github.com/python/cpython/pull/10877#event-2008210587
https://github.com/miss-islington
miss-islingtonhttps://github.com/miss-islington
Dec 5, 2018https://github.com/python/cpython/pull/10877#issuecomment-444637385
@oranavhttps://github.com/oranav
@vstinnerhttps://github.com/vstinner
Please reload this pagehttps://github.com/python/cpython/pull/10877
https://github.com/miss-islington
miss-islingtonhttps://github.com/miss-islington
Dec 5, 2018https://github.com/python/cpython/pull/10877#issuecomment-444637405
@oranavhttps://github.com/oranav
@vstinnerhttps://github.com/vstinner
Please reload this pagehttps://github.com/python/cpython/pull/10877
miss-islingtonhttps://github.com/miss-islington
Dec 5, 2018 https://github.com/python/cpython/pull/10877#ref-commit-badf2f5
https://github.com/oranav
https://github.com/miss-islington
bpo-35310: Clear select() lists before returning upon EINTR (https://github.com/miss-islington/cpython/commit/badf2f540cd96e8ac3b558380d16c1f656e523f7
pythonGH…https://github.com/python/cpython/pull/10877
badf2f5https://github.com/miss-islington/cpython/commit/badf2f540cd96e8ac3b558380d16c1f656e523f7
…-10877https://github.com/python/cpython/pull/10877
7f52415https://github.com/miss-islington/cpython/commit/7f52415a6d4841d77d3b7853e83b25a22e0048dc
https://github.com/bedevere-bot
bedevere-bothttps://github.com/bedevere-bot
Dec 5, 2018https://github.com/python/cpython/pull/10877#issuecomment-444637450
GH-10948https://github.com/python/cpython/pull/10948
3.6 branchhttps://github.com/python/cpython/tree/3.6
Please reload this pagehttps://github.com/python/cpython/pull/10877
https://github.com/bedevere-bot
bedevere-bothttps://github.com/bedevere-bot
needs backport to 3.6 https://github.com/python/cpython/issues?q=state%3Aopen%20label%3A%22needs%20backport%20to%203.6%22
Dec 5, 2018https://github.com/python/cpython/pull/10877#event-2008211119
https://github.com/bedevere-bot
bedevere-bothttps://github.com/bedevere-bot
Dec 5, 2018https://github.com/python/cpython/pull/10877#issuecomment-444637499
GH-10949https://github.com/python/cpython/pull/10949
3.7 branchhttps://github.com/python/cpython/tree/3.7
Please reload this pagehttps://github.com/python/cpython/pull/10877
https://github.com/bedevere-bot
bedevere-bothttps://github.com/bedevere-bot
needs backport to 3.7 https://github.com/python/cpython/issues?q=state%3Aopen%20label%3A%22needs%20backport%20to%203.7%22
Dec 5, 2018https://github.com/python/cpython/pull/10877#event-2008211442
miss-islingtonhttps://github.com/miss-islington
Dec 5, 2018 https://github.com/python/cpython/pull/10877#ref-commit-b9aacc1
https://github.com/oranav
https://github.com/miss-islington
bpo-35310: Clear select() lists before returning upon EINTR (https://github.com/miss-islington/cpython/commit/b9aacc1427e712dd3a4fbdcbf41fa42f4027ff0f
pythonGH…https://github.com/python/cpython/pull/10877
b9aacc1https://github.com/miss-islington/cpython/commit/b9aacc1427e712dd3a4fbdcbf41fa42f4027ff0f
…-10877https://github.com/python/cpython/pull/10877
7f52415https://github.com/miss-islington/cpython/commit/7f52415a6d4841d77d3b7853e83b25a22e0048dc
miss-islingtonhttps://github.com/miss-islington
Dec 5, 2018 https://github.com/python/cpython/pull/10877#ref-commit-b2e0649
https://github.com/miss-islington
https://github.com/oranav
bpo-35310https://bugs.python.org/issue?@action=redirect&bpo=35310
: Clear select() lists before returning upon EINTR (https://github.com/python/cpython/commit/b2e0649dd9a36d54478d0edb623a18d7379e6f19
GH-10877https://github.com/python/cpython/pull/10877
)https://github.com/python/cpython/commit/b2e0649dd9a36d54478d0edb623a18d7379e6f19
b2e0649https://github.com/python/cpython/commit/b2e0649dd9a36d54478d0edb623a18d7379e6f19
7f52415https://github.com/python/cpython/commit/7f52415a6d4841d77d3b7853e83b25a22e0048dc
miss-islingtonhttps://github.com/miss-islington
Dec 5, 2018 https://github.com/python/cpython/pull/10877#ref-commit-3451078
https://github.com/miss-islington
https://github.com/oranav
bpo-35310https://bugs.python.org/issue?@action=redirect&bpo=35310
: Clear select() lists before returning upon EINTR (https://github.com/python/cpython/commit/34510781901b75c9aeca79db41ce0fa92c67878f
GH-10877https://github.com/python/cpython/pull/10877
)https://github.com/python/cpython/commit/34510781901b75c9aeca79db41ce0fa92c67878f
3451078https://github.com/python/cpython/commit/34510781901b75c9aeca79db41ce0fa92c67878f
7f52415https://github.com/python/cpython/commit/7f52415a6d4841d77d3b7853e83b25a22e0048dc
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%2F10877
https://github.com/vstinner
vstinner https://github.com/vstinner
https://github.com/python/cpython/pull/10877/files/d6d788efdbcd597ad181e4809c65c88c0e8875a8
Please reload this pagehttps://github.com/python/cpython/pull/10877
https://github.com/oranav
https://github.com/vstinner
https://github.com/miss-islington
https://github.com/bedevere-bot
https://github.com/the-knights-who-say-ni
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.