| 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:283c4e6a-5929-a545-165c-b04c62372a3d |
| current-catalog-service-hash | ae870bc5e265a340912cde392f23dad3671a0a881730ffdadd82f2f57d81641b |
| request-id | ACF2:2084C4:F8E1F5:14CDCE0:6A5BAD0C |
| html-safe-nonce | 6d6ddaa85c80fd19cbc7195fa85f98f2fcc76e36b7a564aff7165647e5070008 |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJBQ0YyOjIwODRDNDpGOEUxRjU6MTRDRENFMDo2QTVCQUQwQyIsInZpc2l0b3JfaWQiOiI2MDkxMDMxNDYwMjkwNzM1MzcyIiwicmVnaW9uX2VkZ2UiOiJpYWQiLCJyZWdpb25fcmVuZGVyIjoiaWFkIn0= |
| visitor-hmac | e0cbfec6eb08da19f7f077d0c1f9cad8f01221560fb4b1227f5806219c2b95e2 |
| hovercard-subject-tag | pull_request:3605921384 |
| 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/7740/pull_request_layout |
| twitter:image | https://opengraph.githubassets.com/2f41c071664e1b616ca5cdfaf037d2128715bdddb4dcf9bcac20a8f6f5ce6001/RustPython/RustPython/pull/7740 |
| twitter:card | summary_large_image |
| og:image | https://opengraph.githubassets.com/2f41c071664e1b616ca5cdfaf037d2128715bdddb4dcf9bcac20a8f6f5ce6001/RustPython/RustPython/pull/7740 |
| og:image:alt | A sort of follow-up to #7636. I tried to not overdo it here, and I think most of the places I chose are genuinely easier to understand than before.
Summary by CodeRabbit
Refactor
Unified platfor... |
| og:image:width | 1200 |
| og:image:height | 600 |
| og:site_name | GitHub |
| og:type | object |
| og:author:username | coolreader18 |
| 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 | full |
| theme-color | #1e2327 |
| color-scheme | light dark |
| Skip to content | https://github.com/RustPython/RustPython/pull/7740#start-of-content |
|
| https://github.com/ |
|
Sign in
| https://github.com/login?return_to=https%3A%2F%2Fgithub.com%2FRustPython%2FRustPython%2Fpull%2F7740 |
| 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%2F7740 |
|
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/7740 |
| Reload | https://github.com/RustPython/RustPython/pull/7740 |
| Reload | https://github.com/RustPython/RustPython/pull/7740 |
| Please reload this page | https://github.com/RustPython/RustPython/pull/7740 |
|
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
291
| https://github.com/RustPython/RustPython/issues |
|
Pull requests
105
| 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 |
| coolreader18 | https://github.com/coolreader18 |
| RustPython:main | https://github.com/RustPython/RustPython/tree/main |
| coolreader18:cfg_select | https://github.com/coolreader18/RustPython/tree/cfg_select |
| Conversation | https://github.com/RustPython/RustPython/pull/7740 |
| Commits2 (2) | https://github.com/RustPython/RustPython/pull/7740/commits |
| Checks | https://github.com/RustPython/RustPython/pull/7740/checks |
| Files changed | https://github.com/RustPython/RustPython/pull/7740/files |
| Use cfg_select in a bunch more places | https://github.com/RustPython/RustPython/pull/7740#top |
| coolreader18 | https://github.com/coolreader18 |
| RustPython:main | https://github.com/RustPython/RustPython/tree/main |
| coolreader18:cfg_select | https://github.com/coolreader18/RustPython/tree/cfg_select |
|
| https://github.com/coolreader18 |
| coolreader18 | https://github.com/coolreader18 |
| Apr 30, 2026 | https://github.com/RustPython/RustPython/pull/7740#issue-4354753683 |
| Please reload this page | https://github.com/RustPython/RustPython/pull/7740 |
| #7636 | https://github.com/RustPython/RustPython/pull/7636 |
| Please reload this page | https://github.com/RustPython/RustPython/pull/7740 |
|
| https://github.com/coolreader18 |
| Use cfg_select in a bunch more places | https://github.com/RustPython/RustPython/pull/7740/commits/79c4439f2b3c5b37df014b5fa703d703bdcb0218 |
| 79c4439 | https://github.com/RustPython/RustPython/pull/7740/commits/79c4439f2b3c5b37df014b5fa703d703bdcb0218 |
| https://github.com/coolreader18 |
| coolreader18 | https://github.com/coolreader18 |
| ShaharNaveh | https://github.com/ShaharNaveh |
| April 30, 2026 01:41 | https://github.com/RustPython/RustPython/pull/7740#event-25015315409 |
| https://github.com/apps/coderabbitai |
| coderabbitai | https://github.com/apps/coderabbitai |
| Apr 30, 2026 | https://github.com/RustPython/RustPython/pull/7740#issuecomment-4349009779 |
| Please reload this page | https://github.com/RustPython/RustPython/pull/7740 |
| 79c4439 | https://github.com/RustPython/RustPython/commit/79c4439f2b3c5b37df014b5fa703d703bdcb0218 |
| 615583d | https://github.com/RustPython/RustPython/commit/615583d31c43b469e738e591189c2593843a3f17 |
| Provide os module for wasm32-unknown-unknown target #7363 | https://github.com/RustPython/RustPython/issues/7363 |
| RustPython/RustPython#7636 | https://github.com/RustPython/RustPython/pull/7636 |
| RustPython/RustPython#7035 | https://github.com/RustPython/RustPython/pull/7035 |
| Slack Agent | https://www.coderabbit.ai/agent |
| Get started | https://agent.coderabbit.ai/ |
| CodeRabbit | https://coderabbit.ai?utm_source=oss&utm_medium=github&utm_campaign=RustPython/RustPython&utm_content=7740 |
| 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/7740 |
| https://github.com/apps/coderabbitai |
| coderabbitai | https://github.com/apps/coderabbitai |
|
Apr 30, 2026
| https://github.com/RustPython/RustPython/pull/7740#pullrequestreview-4201926653 |
|
View reviewed changes
| https://github.com/RustPython/RustPython/pull/7740/files/79c4439f2b3c5b37df014b5fa703d703bdcb0218 |
| coderabbitai | https://github.com/apps/coderabbitai |
| https://github.com/RustPython/RustPython/pull/7740#pullrequestreview-4201926653 |
| Learn more | https://docs.github.com/articles/managing-disruptive-comments/#hiding-a-comment |
| 6e895fb | https://github.com/RustPython/RustPython/commit/6e895fbac40afdef71e74204ff21e8f0f6878d5d |
| 79c4439 | https://github.com/RustPython/RustPython/commit/79c4439f2b3c5b37df014b5fa703d703bdcb0218 |
| Please reload this page | https://github.com/RustPython/RustPython/pull/7740 |
| crates/stdlib/src/openssl.rs | https://github.com/RustPython/RustPython/pull/7740/files/79c4439f2b3c5b37df014b5fa703d703bdcb0218#diff-f66827d3199bc9476282bcbb77615622c5ef8eca6515c5671b29d39577333390 |
| coderabbitai | https://github.com/apps/coderabbitai |
| Apr 30, 2026 | https://github.com/RustPython/RustPython/pull/7740#discussion_r3165201967 |
| Learn more | https://docs.github.com/articles/managing-disruptive-comments/#hiding-a-comment |
| https://www.openssl.org/docs/manmaster/man3/SSL_CTX_set_num_tickets.html | https://www.openssl.org/docs/manmaster/man3/SSL_CTX_set_num_tickets.html |
| https://docs.openssl.org/3.1/man3/SSL_CTX_set_num_tickets/ | https://docs.openssl.org/3.1/man3/SSL_CTX_set_num_tickets/ |
| https://docs.openssl.org/1.1.1/man3/SSL_CTX_set_num_tickets/ | https://docs.openssl.org/1.1.1/man3/SSL_CTX_set_num_tickets/ |
| https://manpages.opensuse.org/Leap-16.0/openssl-3-doc/SSL_new_session_ticket.33ssl | https://manpages.opensuse.org/Leap-16.0/openssl-3-doc/SSL_new_session_ticket.33ssl |
| https://docs.openssl.org/master/man3/SSL_CTX_set_num_tickets | https://docs.openssl.org/master/man3/SSL_CTX_set_num_tickets |
| https://man.archlinux.org/man/SSL_CTX_set_num_tickets.3.en | https://man.archlinux.org/man/SSL_CTX_set_num_tickets.3.en |
| Please reload this page | https://github.com/RustPython/RustPython/pull/7740 |
| crates/stdlib/src/openssl.rs | https://github.com/RustPython/RustPython/pull/7740/files/79c4439f2b3c5b37df014b5fa703d703bdcb0218#diff-f66827d3199bc9476282bcbb77615622c5ef8eca6515c5671b29d39577333390 |
| Please reload this page | https://github.com/RustPython/RustPython/pull/7740 |
| https://github.com/ShaharNaveh |
| ShaharNaveh | https://github.com/ShaharNaveh |
|
Apr 30, 2026
| https://github.com/RustPython/RustPython/pull/7740#pullrequestreview-4203218220 |
|
View reviewed changes
| https://github.com/RustPython/RustPython/pull/7740/files/79c4439f2b3c5b37df014b5fa703d703bdcb0218 |
| ShaharNaveh | https://github.com/ShaharNaveh |
| https://github.com/RustPython/RustPython/pull/7740#pullrequestreview-4203218220 |
| Learn more | https://docs.github.com/articles/managing-disruptive-comments/#hiding-a-comment |
| Please reload this page | https://github.com/RustPython/RustPython/pull/7740 |
|
| https://github.com/coolreader18 |
| Fix typos | https://github.com/RustPython/RustPython/pull/7740/commits/615583d31c43b469e738e591189c2593843a3f17 |
| 615583d | https://github.com/RustPython/RustPython/pull/7740/commits/615583d31c43b469e738e591189c2593843a3f17 |
| https://github.com/coolreader18 |
| coolreader18 | https://github.com/coolreader18 |
| May 4, 2026 19:48 | https://github.com/RustPython/RustPython/pull/7740#event-25147969956 |
| https://github.com/coolreader18 |
| coolreader18 | https://github.com/coolreader18 |
| 0293238 | https://github.com/RustPython/RustPython/commit/02932384d6be50d5a8f7974fbe74d574c2c34160 |
| May 4, 2026 | https://github.com/RustPython/RustPython/pull/7740#event-25149325318 |
| Please reload this page | https://github.com/RustPython/RustPython/pull/7740 |
| https://github.com/apps/coderabbitai |
| coderabbitai | https://github.com/apps/coderabbitai |
|
May 12, 2026
| https://github.com/RustPython/RustPython/pull/7740#ref-pullrequest-4386048404 |
|
Unchecked code fixes
#7786
| https://github.com/RustPython/RustPython/pull/7786 |
| https://github.com/apps/coderabbitai |
| coderabbitai | https://github.com/apps/coderabbitai |
|
Jun 14, 2026
| https://github.com/RustPython/RustPython/pull/7740#ref-pullrequest-4658945820 |
|
Reduce number of string clones when compiling python source code
#8103
| https://github.com/RustPython/RustPython/pull/8103 |
| 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%2F7740 |
|
| https://github.com/apps/coderabbitai |
|
coderabbitai[bot]
| https://github.com/apps/coderabbitai |
|
| https://github.com/RustPython/RustPython/pull/7740/files/79c4439f2b3c5b37df014b5fa703d703bdcb0218 |
|
| https://github.com/ShaharNaveh |
|
ShaharNaveh
| https://github.com/ShaharNaveh |
|
| https://github.com/RustPython/RustPython/pull/7740/files/79c4439f2b3c5b37df014b5fa703d703bdcb0218 |
| Please reload this page | https://github.com/RustPython/RustPython/pull/7740 |
|
| https://github.com/coolreader18 |
|
| https://github.com/ShaharNaveh |
|
| 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 |