| route-pattern | /_view_fragments/voltron/pull_requests/show/:user_id/:repository/:id/pull_request_layout(.:format) |
| route-controller | voltron_pull_requests_fragments |
| route-action | pull_request_layout |
| fetch-nonce | v2:492eac03-ea8e-07b3-f2d0-4c98711ac39b |
| current-catalog-service-hash | ae870bc5e265a340912cde392f23dad3671a0a881730ffdadd82f2f57d81641b |
| request-id | 8CBC:20CC71:2A95106:38E18DA:6A5D9FB1 |
| html-safe-nonce | 449afc98a9c5fae140a05023e17e321cce37855278950dbe9685f74c8d3e05b4 |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiI4Q0JDOjIwQ0M3MToyQTk1MTA2OjM4RTE4REE6NkE1RDlGQjEiLCJ2aXNpdG9yX2lkIjoiNjAwNTQ3NTk2OTQ1MjU4MDc4NSIsInJlZ2lvbl9lZGdlIjoiaWFkIiwicmVnaW9uX3JlbmRlciI6ImlhZCJ9 |
| visitor-hmac | 7e4e5ba6b983790ea0a66e28728cd791c5e529e7187348369197d8b5731a4f5c |
| hovercard-subject-tag | pull_request:3373584804 |
| github-keyboard-shortcuts | repository,pull-request-list,pull-request-conversation,pull-request-files-changed,copilot |
| google-site-verification | Apib7-x98H0j5cPqHWwSMm6dNU4GmODRoqxLiDzdx9I |
| octolytics-url | https://collector.github.com/github/collect |
| analytics-location | ///voltron/pull_requests_fragments/pull_request_layout |
| fb:app_id | 1401488693436528 |
| apple-itunes-app | app-id=1477376905, app-argument=https://github.com/_view_fragments/voltron/pull_requests/show/RustPython/RustPython/7391/pull_request_layout |
| twitter:image | https://opengraph.githubassets.com/02665844aa2beb6f1c98bc8d247109e9dd22474dbe361d3cd0a9cfde921c4503/RustPython/RustPython/pull/7391 |
| twitter:card | summary_large_image |
| og:image | https://opengraph.githubassets.com/02665844aa2beb6f1c98bc8d247109e9dd22474dbe361d3cd0a9cfde921c4503/RustPython/RustPython/pull/7391 |
| og:image:alt | allow_threads may call attach_thread() on return, which can invoke syscalls that clobber errno. Capture errno inside the closure before it is lost.
Summary by CodeRabbit
Bug Fixes
Improved sema... |
| og:image:width | 1200 |
| og:image:height | 600 |
| og:site_name | GitHub |
| og:type | object |
| og:author:username | youknowone |
| hostname | github.com |
| expected-hostname | github.com |
| None | 5290d7e14309ad1e76106a9c4237bd1041517e83ea182c8ab756752cb0c6940b |
| turbo-cache-control | no-cache |
| go-import | github.com/RustPython/RustPython git https://github.com/RustPython/RustPython.git |
| octolytics-dimension-user_id | 39710557 |
| octolytics-dimension-user_login | RustPython |
| octolytics-dimension-repository_id | 135201145 |
| octolytics-dimension-repository_nwo | RustPython/RustPython |
| octolytics-dimension-repository_public | true |
| octolytics-dimension-repository_is_fork | false |
| octolytics-dimension-repository_network_root_id | 135201145 |
| octolytics-dimension-repository_network_root_nwo | RustPython/RustPython |
| turbo-body-classes | logged-out env-production page-responsive |
| disable-turbo | false |
| browser-stats-url | https://api.github.com/_private/browser/stats |
| browser-errors-url | https://api.github.com/_private/browser/errors |
| release | 9c975978430e9ad293956f2bbdaf153b1bd84a99 |
| ui-target | canary-2 |
| theme-color | #1e2327 |
| color-scheme | light dark |
| Skip to content | https://github.com/RustPython/RustPython/pull/7391#start-of-content |
|
| https://github.com/ |
|
Sign in
| https://github.com/login?return_to=https%3A%2F%2Fgithub.com%2FRustPython%2FRustPython%2Fpull%2F7391 |
| GitHub CopilotWrite better code with AI | https://github.com/features/copilot |
| GitHub Copilot appDirect agents from issue to merge | https://github.com/features/ai/github-app |
| MCP RegistryNewIntegrate external tools | https://github.com/mcp |
| ActionsAutomate any workflow | https://github.com/features/actions |
| CodespacesInstant dev environments | https://github.com/features/codespaces |
| IssuesPlan and track work | https://github.com/features/issues |
| Code ReviewManage code changes | https://github.com/features/code-review |
| GitHub Advanced SecurityFind and fix vulnerabilities | https://github.com/security/advanced-security |
| Code securitySecure your code as you build | https://github.com/security/advanced-security/code-security |
| Secret protectionStop leaks before they start | https://github.com/security/advanced-security/secret-protection |
| Why GitHub | https://github.com/why-github |
| Documentation | https://docs.github.com |
| Blog | https://github.blog |
| Changelog | https://github.blog/changelog |
| Marketplace | https://github.com/marketplace |
| View all features | https://github.com/features |
| Enterprises | https://github.com/enterprise |
| Small and medium teams | https://github.com/team |
| Startups | https://github.com/enterprise/startups |
| Nonprofits | https://github.com/solutions/industry/nonprofits |
| App Modernization | https://github.com/solutions/use-case/app-modernization |
| DevSecOps | https://github.com/solutions/use-case/devsecops |
| DevOps | https://github.com/solutions/use-case/devops |
| CI/CD | https://github.com/solutions/use-case/ci-cd |
| View all use cases | https://github.com/solutions/use-case |
| Healthcare | https://github.com/solutions/industry/healthcare |
| Financial services | https://github.com/solutions/industry/financial-services |
| Manufacturing | https://github.com/solutions/industry/manufacturing |
| Government | https://github.com/solutions/industry/government |
| View all industries | https://github.com/solutions/industry |
| View all solutions | https://github.com/solutions |
| AI | https://github.com/resources/articles?topic=ai |
| Software Development | https://github.com/resources/articles?topic=software-development |
| DevOps | https://github.com/resources/articles?topic=devops |
| Security | https://github.com/resources/articles?topic=security |
| View all topics | https://github.com/resources/articles |
| Customer stories | https://github.com/customer-stories |
| Events & webinars | https://github.com/resources/events |
| Ebooks & reports | https://github.com/resources/whitepapers |
| Business insights | https://github.com/solutions/executive-insights |
| GitHub Skills | https://skills.github.com |
| Documentation | https://docs.github.com |
| Customer support | https://support.github.com |
| Community forum | https://github.com/orgs/community/discussions |
| Trust center | https://github.com/trust-center |
| Partners | https://github.com/partners |
| View all resources | https://github.com/resources |
| GitHub SponsorsFund open source developers | https://github.com/open-source/sponsors |
| Security Lab | https://securitylab.github.com |
| Maintainer Community | https://maintainers.github.com |
| Accelerator | https://github.com/open-source/accelerator |
| GitHub Stars | https://stars.github.com |
| Archive Program | https://archiveprogram.github.com |
| Topics | https://github.com/topics |
| Trending | https://github.com/trending |
| Collections | https://github.com/collections |
| Enterprise platformAI-powered developer platform | https://github.com/enterprise |
| GitHub Advanced SecurityEnterprise-grade security features | https://github.com/security/advanced-security |
| Copilot for BusinessEnterprise-grade AI features | https://github.com/features/copilot/copilot-business |
| Premium SupportEnterprise-grade 24/7 support | https://github.com/enterprise/premium-support |
| Pricing | https://github.com/pricing |
| Search syntax tips | https://docs.github.com/search-github/github-code-search/understanding-github-code-search-syntax |
| documentation | https://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%2FRustPython%2FRustPython%2Fpull%2F7391 |
|
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=RustPython%2FRustPython |
| Reload | https://github.com/RustPython/RustPython/pull/7391 |
| Reload | https://github.com/RustPython/RustPython/pull/7391 |
| Reload | https://github.com/RustPython/RustPython/pull/7391 |
| Please reload this page | https://github.com/RustPython/RustPython/pull/7391 |
|
RustPython
| https://github.com/RustPython |
| RustPython | https://github.com/RustPython/RustPython |
|
Notifications
| https://github.com/login?return_to=%2FRustPython%2FRustPython |
|
Fork
1.5k
| https://github.com/login?return_to=%2FRustPython%2FRustPython |
|
Star
22.2k
| https://github.com/login?return_to=%2FRustPython%2FRustPython |
|
Code
| https://github.com/RustPython/RustPython |
|
Issues
293
| https://github.com/RustPython/RustPython/issues |
|
Pull requests
104
| https://github.com/RustPython/RustPython/pulls |
|
Discussions
| https://github.com/RustPython/RustPython/discussions |
|
Actions
| https://github.com/RustPython/RustPython/actions |
|
Projects
| https://github.com/RustPython/RustPython/projects |
|
Models
| https://github.com/RustPython/RustPython/models |
|
Wiki
| https://github.com/RustPython/RustPython/wiki |
|
Security and quality
0
| https://github.com/RustPython/RustPython/security |
|
Insights
| https://github.com/RustPython/RustPython/pulse |
|
Code
| https://github.com/RustPython/RustPython |
|
Issues
| https://github.com/RustPython/RustPython/issues |
|
Pull requests
| https://github.com/RustPython/RustPython/pulls |
|
Discussions
| https://github.com/RustPython/RustPython/discussions |
|
Actions
| https://github.com/RustPython/RustPython/actions |
|
Projects
| https://github.com/RustPython/RustPython/projects |
|
Models
| https://github.com/RustPython/RustPython/models |
|
Wiki
| https://github.com/RustPython/RustPython/wiki |
|
Security and quality
| https://github.com/RustPython/RustPython/security |
|
Insights
| https://github.com/RustPython/RustPython/pulse |
| youknowone | https://github.com/youknowone |
| RustPython:main | https://github.com/RustPython/RustPython/tree/main |
| youknowone:multiprocessing | https://github.com/youknowone/RustPython/tree/multiprocessing |
| Conversation | https://github.com/RustPython/RustPython/pull/7391 |
| Commits1 (1) | https://github.com/RustPython/RustPython/pull/7391/commits |
| Checks | https://github.com/RustPython/RustPython/pull/7391/checks |
| Files changed | https://github.com/RustPython/RustPython/pull/7391/files |
| Save errno inside allow_threads in semaphore acquire | https://github.com/RustPython/RustPython/pull/7391#top |
| youknowone | https://github.com/youknowone |
| RustPython:main | https://github.com/RustPython/RustPython/tree/main |
| youknowone:multiprocessing | https://github.com/youknowone/RustPython/tree/multiprocessing |
|
| https://github.com/youknowone |
| youknowone | https://github.com/youknowone |
| Mar 9, 2026 | https://github.com/RustPython/RustPython/pull/7391#issue-4045748646 |
| Please reload this page | https://github.com/RustPython/RustPython/pull/7391 |
| Please reload this page | https://github.com/RustPython/RustPython/pull/7391 |
| https://github.com/apps/coderabbitai |
| coderabbitai | https://github.com/apps/coderabbitai |
| Mar 9, 2026 | https://github.com/RustPython/RustPython/pull/7391#issuecomment-4023995300 |
| Please reload this page | https://github.com/RustPython/RustPython/pull/7391 |
| 8ec74ef | https://github.com/RustPython/RustPython/commit/8ec74ef0feef88dbd250a0f388aa458ecae45605 |
| a47c97a | https://github.com/RustPython/RustPython/commit/a47c97a5cdb754d4c42822f0d6864f6fc45af215 |
| CodeRabbit | https://coderabbit.ai?utm_source=oss&utm_medium=github&utm_campaign=RustPython/RustPython&utm_content=7391 |
| X | https://twitter.com/intent/tweet?text=I%20just%20used%20%40coderabbitai%20for%20my%20code%20review%2C%20and%20it%27s%20fantastic%21%20It%27s%20free%20for%20OSS%20and%20offers%20a%20free%20trial%20for%20the%20proprietary%20code.%20Check%20it%20out%3A&url=https%3A//coderabbit.ai |
| Mastodon | https://mastodon.social/share?text=I%20just%20used%20%40coderabbitai%20for%20my%20code%20review%2C%20and%20it%27s%20fantastic%21%20It%27s%20free%20for%20OSS%20and%20offers%20a%20free%20trial%20for%20the%20proprietary%20code.%20Check%20it%20out%3A%20https%3A%2F%2Fcoderabbit.ai |
| Reddit | https://www.reddit.com/submit?title=Great%20tool%20for%20code%20review%20-%20CodeRabbit&text=I%20just%20used%20CodeRabbit%20for%20my%20code%20review%2C%20and%20it%27s%20fantastic%21%20It%27s%20free%20for%20OSS%20and%20offers%20a%20free%20trial%20for%20proprietary%20code.%20Check%20it%20out%3A%20https%3A//coderabbit.ai |
| LinkedIn | https://www.linkedin.com/sharing/share-offsite/?url=https%3A%2F%2Fcoderabbit.ai&mini=true&title=Great%20tool%20for%20code%20review%20-%20CodeRabbit&summary=I%20just%20used%20CodeRabbit%20for%20my%20code%20review%2C%20and%20it%27s%20fantastic%21%20It%27s%20free%20for%20OSS%20and%20offers%20a%20free%20trial%20for%20proprietary%20code |
| Please reload this page | https://github.com/RustPython/RustPython/pull/7391 |
| https://github.com/youknowone |
| youknowone | https://github.com/youknowone |
| March 9, 2026 15:47 | https://github.com/RustPython/RustPython/pull/7391#event-23400962129 |
| https://github.com/apps/coderabbitai |
| coderabbitai | https://github.com/apps/coderabbitai |
|
Mar 9, 2026
| https://github.com/RustPython/RustPython/pull/7391#pullrequestreview-3916479307 |
|
View reviewed changes
| https://github.com/RustPython/RustPython/pull/7391/files |
| coderabbitai | https://github.com/apps/coderabbitai |
| https://github.com/RustPython/RustPython/pull/7391#pullrequestreview-3916479307 |
| Learn more | https://docs.github.com/articles/managing-disruptive-comments/#hiding-a-comment |
| 2266ba7 | https://github.com/RustPython/RustPython/commit/2266ba7f47550376192732e338df0c145840ca83 |
| bb5fa6b | https://github.com/RustPython/RustPython/commit/bb5fa6bf2d3a23fd99424e83f36ec438db427ba1 |
| Please reload this page | https://github.com/RustPython/RustPython/pull/7391 |
| crates/stdlib/src/multiprocessing.rs | https://github.com/RustPython/RustPython/pull/7391/files#diff-b6615bfb745ac9b0672ce1bb6fc36b10ba2890ae7978cd7ebc52c51286a7f47c |
| Please reload this page | https://github.com/RustPython/RustPython/pull/7391 |
| https://github.com/youknowone |
| youknowone | https://github.com/youknowone |
| force-pushed | https://github.com/RustPython/RustPython/compare/bb5fa6bf2d3a23fd99424e83f36ec438db427ba1..cd304a536add80f55a067df1fb53d77a829a9d05 |
| bb5fa6b | https://github.com/RustPython/RustPython/commit/bb5fa6bf2d3a23fd99424e83f36ec438db427ba1 |
| cd304a5 | https://github.com/RustPython/RustPython/commit/cd304a536add80f55a067df1fb53d77a829a9d05 |
|
Compare
| https://github.com/RustPython/RustPython/compare/bb5fa6bf2d3a23fd99424e83f36ec438db427ba1..cd304a536add80f55a067df1fb53d77a829a9d05 |
| March 10, 2026 02:27 | https://github.com/RustPython/RustPython/pull/7391#event-23416336227 |
| https://github.com/apps/coderabbitai |
| coderabbitai | https://github.com/apps/coderabbitai |
|
Mar 10, 2026
| https://github.com/RustPython/RustPython/pull/7391#pullrequestreview-3919320043 |
|
View reviewed changes
| https://github.com/RustPython/RustPython/pull/7391/files |
| coderabbitai | https://github.com/apps/coderabbitai |
| https://github.com/RustPython/RustPython/pull/7391#pullrequestreview-3919320043 |
| Learn more | https://docs.github.com/articles/managing-disruptive-comments/#hiding-a-comment |
| bb5fa6b | https://github.com/RustPython/RustPython/commit/bb5fa6bf2d3a23fd99424e83f36ec438db427ba1 |
| cd304a5 | https://github.com/RustPython/RustPython/commit/cd304a536add80f55a067df1fb53d77a829a9d05 |
| Please reload this page | https://github.com/RustPython/RustPython/pull/7391 |
| https://github.com/youknowone |
| youknowone | https://github.com/youknowone |
| force-pushed | https://github.com/RustPython/RustPython/compare/cd304a536add80f55a067df1fb53d77a829a9d05..8ec74ef0feef88dbd250a0f388aa458ecae45605 |
| cd304a5 | https://github.com/RustPython/RustPython/commit/cd304a536add80f55a067df1fb53d77a829a9d05 |
| 8ec74ef | https://github.com/RustPython/RustPython/commit/8ec74ef0feef88dbd250a0f388aa458ecae45605 |
|
Compare
| https://github.com/RustPython/RustPython/compare/cd304a536add80f55a067df1fb53d77a829a9d05..8ec74ef0feef88dbd250a0f388aa458ecae45605 |
| March 10, 2026 02:44 | https://github.com/RustPython/RustPython/pull/7391#event-23416601361 |
| https://github.com/apps/coderabbitai |
| coderabbitai | https://github.com/apps/coderabbitai |
|
Mar 10, 2026
| https://github.com/RustPython/RustPython/pull/7391#pullrequestreview-3919375249 |
|
View reviewed changes
| https://github.com/RustPython/RustPython/pull/7391/files |
| coderabbitai | https://github.com/apps/coderabbitai |
| https://github.com/RustPython/RustPython/pull/7391#pullrequestreview-3919375249 |
| Learn more | https://docs.github.com/articles/managing-disruptive-comments/#hiding-a-comment |
| cd304a5 | https://github.com/RustPython/RustPython/commit/cd304a536add80f55a067df1fb53d77a829a9d05 |
| 8ec74ef | https://github.com/RustPython/RustPython/commit/8ec74ef0feef88dbd250a0f388aa458ecae45605 |
| Please reload this page | https://github.com/RustPython/RustPython/pull/7391 |
|
| https://github.com/youknowone |
| Save errno inside allow_threads in semaphore acquire | https://github.com/RustPython/RustPython/pull/7391/commits/a47c97a5cdb754d4c42822f0d6864f6fc45af215 |
| a47c97a | https://github.com/RustPython/RustPython/pull/7391/commits/a47c97a5cdb754d4c42822f0d6864f6fc45af215 |
| https://github.com/youknowone |
| youknowone | https://github.com/youknowone |
| force-pushed | https://github.com/RustPython/RustPython/compare/8ec74ef0feef88dbd250a0f388aa458ecae45605..a47c97a5cdb754d4c42822f0d6864f6fc45af215 |
| 8ec74ef | https://github.com/RustPython/RustPython/commit/8ec74ef0feef88dbd250a0f388aa458ecae45605 |
| a47c97a | https://github.com/RustPython/RustPython/commit/a47c97a5cdb754d4c42822f0d6864f6fc45af215 |
|
Compare
| https://github.com/RustPython/RustPython/compare/8ec74ef0feef88dbd250a0f388aa458ecae45605..a47c97a5cdb754d4c42822f0d6864f6fc45af215 |
| March 10, 2026 03:58 | https://github.com/RustPython/RustPython/pull/7391#event-23417690102 |
| https://github.com/youknowone |
| youknowone | https://github.com/youknowone |
| 45d93f4 | https://github.com/RustPython/RustPython/commit/45d93f4b20a396b6c95ecb84b8ccf7d8ea67b01e |
| Mar 10, 2026 | https://github.com/RustPython/RustPython/pull/7391#event-23418675886 |
| Please reload this page | https://github.com/RustPython/RustPython/pull/7391 |
| https://github.com/youknowone |
| youknowone | https://github.com/youknowone |
| March 10, 2026 05:04 | https://github.com/RustPython/RustPython/pull/7391#event-23418676213 |
| https://github.com/apps/coderabbitai |
| coderabbitai | https://github.com/apps/coderabbitai |
|
Mar 19, 2026
| https://github.com/RustPython/RustPython/pull/7391#ref-pullrequest-4088136332 |
|
Fix allow_threads and EINTR handling
#7457
| https://github.com/RustPython/RustPython/pull/7457 |
| youknowone | https://github.com/youknowone |
|
Mar 19, 2026
| https://github.com/RustPython/RustPython/pull/7391#ref-commit-117e978 |
|
| https://github.com/youknowone |
| Save errno inside allow_threads in semaphore acquire ( | https://github.com/youknowone/RustPython/commit/117e978b7e3374340d103d90ae742580126925f8 |
| RustPython#7391 | https://github.com/RustPython/RustPython/pull/7391 |
| ) | https://github.com/youknowone/RustPython/commit/117e978b7e3374340d103d90ae742580126925f8 |
| 117e978 | https://github.com/youknowone/RustPython/commit/117e978b7e3374340d103d90ae742580126925f8 |
| youknowone | https://github.com/youknowone |
|
Mar 22, 2026
| https://github.com/RustPython/RustPython/pull/7391#ref-commit-7f06266 |
|
| https://github.com/youknowone |
| Save errno inside allow_threads in semaphore acquire ( | https://github.com/youknowone/RustPython/commit/7f062665fcff62103e926c26f7e1cea7810322cc |
| RustPython#7391 | https://github.com/RustPython/RustPython/pull/7391 |
| ) | https://github.com/youknowone/RustPython/commit/7f062665fcff62103e926c26f7e1cea7810322cc |
| 7f06266 | https://github.com/youknowone/RustPython/commit/7f062665fcff62103e926c26f7e1cea7810322cc |
| https://github.co/hiddenchars |
| https://github.com/RustPython/RustPython/pull/{{ revealButtonHref }} |
| Sign up for free | https://github.com/join?source=comment-repo |
| Sign in to comment | https://github.com/login?return_to=https%3A%2F%2Fgithub.com%2FRustPython%2FRustPython%2Fpull%2F7391 |
|
| https://github.com/apps/coderabbitai |
|
coderabbitai[bot]
| https://github.com/apps/coderabbitai |
|
| https://github.com/RustPython/RustPython/pull/7391/files/8ec74ef0feef88dbd250a0f388aa458ecae45605 |
| Please reload this page | https://github.com/RustPython/RustPython/pull/7391 |
|
| https://github.com/youknowone |
|
| https://github.com |
| Terms | https://docs.github.com/site-policy/github-terms/github-terms-of-service |
| Privacy | https://docs.github.com/site-policy/privacy-policies/github-privacy-statement |
| Security | https://github.com/security |
| Status | https://www.githubstatus.com/ |
| Community | https://github.community/ |
| Docs | https://docs.github.com/ |
| Contact | https://support.github.com?tags=dotcom-footer |