| 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:f8314fcc-00d6-3317-97f8-ee57e7f84944 |
| current-catalog-service-hash | ae870bc5e265a340912cde392f23dad3671a0a881730ffdadd82f2f57d81641b |
| request-id | A244:70D8F:9475FE:D030AF:696A527B |
| html-safe-nonce | 0aaf0c55876ce8a3b7fb4439ddd90df4ad3627314984802eb415b67b46b610bf |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJBMjQ0OjcwRDhGOjk0NzVGRTpEMDMwQUY6Njk2QTUyN0IiLCJ2aXNpdG9yX2lkIjoiODI3NDk3ODQ3ODY3NDgyNTg1MSIsInJlZ2lvbl9lZGdlIjoiaWFkIiwicmVnaW9uX3JlbmRlciI6ImlhZCJ9 |
| visitor-hmac | 316e4879811a7aafc400d1f1d2f8bbabced1b791667063bcd873af45c230260a |
| hovercard-subject-tag | pull_request:3050337811 |
| 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/python/cpython/142007/pull_request_layout |
| twitter:image | https://opengraph.githubassets.com/1fdcc308bc8a132a3be15114e4b919aa364c625af4b9bc00ce9d80a1aa9c05cf/python/cpython/pull/142007 |
| twitter:card | summary_large_image |
| og:image | https://opengraph.githubassets.com/1fdcc308bc8a132a3be15114e4b919aa364c625af4b9bc00ce9d80a1aa9c05cf/python/cpython/pull/142007 |
| og:image:alt | gh-141805: goes directly to the found_unused_or_dummy when finding a dummy slot in set.add
This avoids triggering the __eq__ in the next iteration by the PyObject_RichCompareBool, which might intro... |
| og:image:width | 1200 |
| og:image:height | 600 |
| og:site_name | GitHub |
| og:type | object |
| og:author:username | kemingy |
| hostname | github.com |
| expected-hostname | github.com |
| None | 3f871c8e07f0ae1886fa8dac284166d28b09ad5bada6476fc10b674e489788ef |
| turbo-cache-control | no-preview |
| go-import | github.com/python/cpython git https://github.com/python/cpython.git |
| octolytics-dimension-user_id | 1525981 |
| octolytics-dimension-user_login | python |
| octolytics-dimension-repository_id | 81598961 |
| octolytics-dimension-repository_nwo | python/cpython |
| octolytics-dimension-repository_public | true |
| octolytics-dimension-repository_is_fork | false |
| octolytics-dimension-repository_network_root_id | 81598961 |
| octolytics-dimension-repository_network_root_nwo | python/cpython |
| 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 | 63c426b30d262aba269ef14c40e3c817b384cd61 |
| ui-target | full |
| theme-color | #1e2327 |
| color-scheme | light dark |
| Skip to content | https://github.com/python/cpython/pull/142007#start-of-content |
|
| https://github.com/ |
|
Sign in
| https://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fpython%2Fcpython%2Fpull%2F142007 |
| GitHub CopilotWrite better code with AI | https://github.com/features/copilot |
| GitHub SparkBuild and deploy intelligent apps | https://github.com/features/spark |
| GitHub ModelsManage and compare prompts | https://github.com/features/models |
| 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 |
| GitHub SponsorsFund open source developers | https://github.com/sponsors |
| Security Lab | https://securitylab.github.com |
| Maintainer Community | https://maintainers.github.com |
| Accelerator | https://github.com/accelerator |
| 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/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%2Fpython%2Fcpython%2Fpull%2F142007 |
|
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 |
| Reload | https://github.com/python/cpython/pull/142007 |
| Reload | https://github.com/python/cpython/pull/142007 |
| Reload | https://github.com/python/cpython/pull/142007 |
|
python
| https://github.com/python |
| cpython | https://github.com/python/cpython |
| Please reload this page | https://github.com/python/cpython/pull/142007 |
|
Notifications
| https://github.com/login?return_to=%2Fpython%2Fcpython |
|
Fork
33.9k
| https://github.com/login?return_to=%2Fpython%2Fcpython |
|
Star
71.1k
| 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.1k
| https://github.com/python/cpython/pulls |
|
Actions
| https://github.com/python/cpython/actions |
|
Projects
31
| https://github.com/python/cpython/projects |
|
Security
Uh oh!
There was an error while loading. Please reload this page.
| https://github.com/python/cpython/security |
| Please reload this page | https://github.com/python/cpython/pull/142007 |
|
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
| https://github.com/python/cpython/security |
|
Insights
| https://github.com/python/cpython/pulse |
| Sign up for GitHub
| https://github.com/signup?return_to=%2Fpython%2Fcpython%2Fissues%2Fnew%2Fchoose |
| terms of service | https://docs.github.com/terms |
| privacy statement | https://docs.github.com/privacy |
| Sign in | https://github.com/login?return_to=%2Fpython%2Fcpython%2Fissues%2Fnew%2Fchoose |
| Jump to bottom | https://github.com/python/cpython/pull/142007#issue-comment-box |
| kemingy | https://github.com/kemingy |
| python:main | https://github.com/python/cpython/tree/main |
| kemingy:gh-141805 | https://github.com/kemingy/cpython/tree/gh-141805 |
|
gh-141805: avoid increase the set->used twice when the __eq__ trigger another add
| https://github.com/python/cpython/pull/142007#top |
| kemingy | https://github.com/kemingy |
| python:main | https://github.com/python/cpython/tree/main |
| kemingy:gh-141805 | https://github.com/kemingy/cpython/tree/gh-141805 |
|
Conversation
13
| https://github.com/python/cpython/pull/142007 |
|
Commits
6
| https://github.com/python/cpython/pull/142007/commits |
|
Checks
44
| https://github.com/python/cpython/pull/142007/checks |
|
Files changed
3
| https://github.com/python/cpython/pull/142007/files |
| https://github.co/hiddenchars |
| https://github.com/python/cpython/pull/{{ revealButtonHref }} |
|
| https://github.com/kemingy |
| kemingy | https://github.com/kemingy |
| Nov 27, 2025 | https://github.com/python/cpython/pull/142007#issue-3670664840 |
| gh-141805 | https://github.com/python/cpython/issues/141805 |
| #141805 (comment) | https://github.com/python/cpython/issues/141805#issuecomment-3584997981 |
| Please reload this page | https://github.com/python/cpython/pull/142007 |
|
| https://github.com/kemingy |
| fix: avoid increase the set->used twice when the __eq__ trigger anoth… | https://github.com/python/cpython/pull/142007/commits/cfdeb5c14589224215a6455674ebf9261defd13a |
| cfdeb5c | https://github.com/python/cpython/pull/142007/commits/cfdeb5c14589224215a6455674ebf9261defd13a |
| https://github.com/kemingy |
| kemingy | https://github.com/kemingy |
| rhettinger | https://github.com/rhettinger |
| code owner | https://github.com/python/cpython/blob/bc9e63dd9d2931771415cca1b0ed774471d523c0/.github/CODEOWNERS#L209 |
| November 27, 2025 09:52 | https://github.com/python/cpython/pull/142007#event-21214744777 |
| https://github.com/apps/bedevere-app |
| bedevere-app | https://github.com/apps/bedevere-app |
|
awaiting review
| https://github.com/python/cpython/issues?q=state%3Aopen%20label%3A%22awaiting%20review%22 |
| Nov 27, 2025 | https://github.com/python/cpython/pull/142007#event-21214745775 |
| https://github.com/kemingy |
| kemingy | https://github.com/kemingy |
| Nov 27, 2025 | https://github.com/python/cpython/pull/142007#event-21214769207 |
| https://github.com/apps/bedevere-app |
| bedevere-app | https://github.com/apps/bedevere-app |
|
Nov 27, 2025
| https://github.com/python/cpython/pull/142007#ref-issue-3649078840 |
|
Segfault from repr() of a corrupted set
#141805
| https://github.com/python/cpython/issues/141805 |
|
| https://github.com/kemingy |
| add testcase for dummy slot | https://github.com/python/cpython/pull/142007/commits/4a2440db3cf5763dc6bd60e7f47e157257e7e7ea |
| 4a2440d | https://github.com/python/cpython/pull/142007/commits/4a2440db3cf5763dc6bd60e7f47e157257e7e7ea |
| https://github.com/dr-carlos |
| dr-carlos | https://github.com/dr-carlos |
|
Nov 27, 2025
| https://github.com/python/cpython/pull/142007#pullrequestreview-3517022283 |
|
View reviewed changes
| https://github.com/python/cpython/pull/142007/files/4a2440db3cf5763dc6bd60e7f47e157257e7e7ea |
| Misc/NEWS.d/next/Core_and_Builtins/2025-11-27-17-47-09.gh-issue-141805.TT0biF.rst | https://github.com/python/cpython/pull/142007/files/4a2440db3cf5763dc6bd60e7f47e157257e7e7ea#diff-44ae6541b730286433354f8c9a86cf719e7bf0feb37235aa265f8e015b186c64 |
| Please reload this page | https://github.com/python/cpython/pull/142007 |
| https://github.com/apps/bedevere-app |
| bedevere-app | https://github.com/apps/bedevere-app |
|
awaiting core review
| https://github.com/python/cpython/issues?q=state%3Aopen%20label%3A%22awaiting%20core%20review%22 |
|
awaiting review
| https://github.com/python/cpython/issues?q=state%3Aopen%20label%3A%22awaiting%20review%22 |
| Nov 27, 2025 | https://github.com/python/cpython/pull/142007#event-21232423330 |
| kemingy | https://github.com/kemingy |
| November 28, 2025 08:13 | https://github.com/python/cpython/pull/142007#commits-pushed-08f7e68 |
|
| https://github.com/kemingy |
| polish the NEWS to make it easy to understand for users | https://github.com/python/cpython/pull/142007/commits/08f7e68ab3c01971005d38657131d0db5e10498f |
| 08f7e68 | https://github.com/python/cpython/pull/142007/commits/08f7e68ab3c01971005d38657131d0db5e10498f |
|
| https://github.com/kumaraditya303 |
| Merge branch 'main' into | https://github.com/python/cpython/pull/142007/commits/cf1400fd0897b4bfcf90ea4cd93b69f9e99d709b |
| pythongh-141805 | https://github.com/python/cpython/issues/141805 |
| cf1400f | https://github.com/python/cpython/pull/142007/commits/cf1400fd0897b4bfcf90ea4cd93b69f9e99d709b |
| https://github.com/efimov-mikhail |
| efimov-mikhail | https://github.com/efimov-mikhail |
|
Dec 20, 2025
| https://github.com/python/cpython/pull/142007#pullrequestreview-3601211437 |
|
View reviewed changes
| https://github.com/python/cpython/pull/142007/files/cf1400fd0897b4bfcf90ea4cd93b69f9e99d709b |
| efimov-mikhail | https://github.com/efimov-mikhail |
| https://github.com/python/cpython/pull/142007#pullrequestreview-3601211437 |
| Learn more | https://docs.github.com/articles/managing-disruptive-comments/#hiding-a-comment |
| Please reload this page | https://github.com/python/cpython/pull/142007 |
| Lib/test/test_set.py | https://github.com/python/cpython/pull/142007/files/cf1400fd0897b4bfcf90ea4cd93b69f9e99d709b#diff-16129e9911d8b23ed7e37808ea9891475f6e3cc94c2bd5ff22602dc0cba336da |
| Please reload this page | https://github.com/python/cpython/pull/142007 |
| Misc/NEWS.d/next/Core_and_Builtins/2025-11-27-17-47-09.gh-issue-141805.TT0biF.rst | https://github.com/python/cpython/pull/142007/files/cf1400fd0897b4bfcf90ea4cd93b69f9e99d709b#diff-44ae6541b730286433354f8c9a86cf719e7bf0feb37235aa265f8e015b186c64 |
| Please reload this page | https://github.com/python/cpython/pull/142007 |
| https://github.com/efimov-mikhail |
| efimov-mikhail | https://github.com/efimov-mikhail |
|
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 |
| Dec 20, 2025 | https://github.com/python/cpython/pull/142007#event-21685940448 |
| kemingy | https://github.com/kemingy |
| December 22, 2025 10:42 | https://github.com/python/cpython/pull/142007#commits-pushed-13ccc5b |
|
| https://github.com/kemingy |
| add repr to trigger the segfault, rephrase the NEWS | https://github.com/python/cpython/pull/142007/commits/13ccc5b6cca1fef27f775249b8f751f95325301f |
| 13ccc5b | https://github.com/python/cpython/pull/142007/commits/13ccc5b6cca1fef27f775249b8f751f95325301f |
|
| https://github.com/efimov-mikhail |
| Merge branch 'main' into | https://github.com/python/cpython/pull/142007/commits/de4dbb4b7bebda23d43e0d68fcdabcd79e501c7d |
| pythongh-141805 | https://github.com/python/cpython/issues/141805 |
| de4dbb4 | https://github.com/python/cpython/pull/142007/commits/de4dbb4b7bebda23d43e0d68fcdabcd79e501c7d |
| https://github.com/efimov-mikhail |
| efimov-mikhail | https://github.com/efimov-mikhail |
|
Dec 22, 2025
| https://github.com/python/cpython/pull/142007#pullrequestreview-3604175970 |
|
View reviewed changes
| https://github.com/python/cpython/pull/142007/files/de4dbb4b7bebda23d43e0d68fcdabcd79e501c7d |
| efimov-mikhail | https://github.com/efimov-mikhail |
| https://github.com/python/cpython/pull/142007#pullrequestreview-3604175970 |
| Learn more | https://docs.github.com/articles/managing-disruptive-comments/#hiding-a-comment |
| Please reload this page | https://github.com/python/cpython/pull/142007 |
| https://github.com/kemingy |
| kemingy | https://github.com/kemingy |
| Jan 8, 2026 | https://github.com/python/cpython/pull/142007#issuecomment-3721712079 |
| @rhettinger | https://github.com/rhettinger |
| Please reload this page | https://github.com/python/cpython/pull/142007 |
| https://github.com/serhiy-storchaka |
| serhiy-storchaka | https://github.com/serhiy-storchaka |
| January 12, 2026 18:45 | https://github.com/python/cpython/pull/142007#event-21997006477 |
| https://github.com/serhiy-storchaka |
| serhiy-storchaka | https://github.com/serhiy-storchaka |
|
Jan 13, 2026
| https://github.com/python/cpython/pull/142007#ref-pullrequest-3808389619 |
|
Add regression test for add() after remove() with hash collision in set
#143781
| https://github.com/python/cpython/pull/143781 |
| https://github.com/serhiy-storchaka |
| serhiy-storchaka | https://github.com/serhiy-storchaka |
|
Jan 13, 2026
| https://github.com/python/cpython/pull/142007#pullrequestreview-3654808646 |
|
View reviewed changes
| https://github.com/python/cpython/pull/142007/files/de4dbb4b7bebda23d43e0d68fcdabcd79e501c7d |
| Objects/setobject.c | https://github.com/python/cpython/pull/142007/files/de4dbb4b7bebda23d43e0d68fcdabcd79e501c7d#diff-537c6127e75079330edcb3775b0b9c2e4aeb34530dfe224ef2c96c3acb42111f |
| serhiy-storchaka | https://github.com/serhiy-storchaka |
| Jan 13, 2026 | https://github.com/python/cpython/pull/142007#discussion_r2685609150 |
| Learn more | https://docs.github.com/articles/managing-disruptive-comments/#hiding-a-comment |
| Please reload this page | https://github.com/python/cpython/pull/142007 |
| serhiy-storchaka | https://github.com/serhiy-storchaka |
| Jan 13, 2026 | https://github.com/python/cpython/pull/142007#discussion_r2685964347 |
| Learn more | https://docs.github.com/articles/managing-disruptive-comments/#hiding-a-comment |
| #143781 | https://github.com/python/cpython/pull/143781 |
| Please reload this page | https://github.com/python/cpython/pull/142007 |
| https://github.com/rhettinger |
| rhettinger | https://github.com/rhettinger |
|
DO-NOT-MERGE
| https://github.com/python/cpython/issues?q=state%3Aopen%20label%3ADO-NOT-MERGE |
| Jan 14, 2026 | https://github.com/python/cpython/pull/142007#event-22052845490 |
| https://github.com/kemingy |
| kemingy | https://github.com/kemingy |
| Jan 15, 2026 | https://github.com/python/cpython/pull/142007#event-22057667376 |
| 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%2Fpython%2Fcpython%2Fpull%2F142007 |
|
| https://github.com/serhiy-storchaka |
|
serhiy-storchaka
| https://github.com/serhiy-storchaka |
|
| https://github.com/python/cpython/pull/142007/files/de4dbb4b7bebda23d43e0d68fcdabcd79e501c7d |
|
| https://github.com/efimov-mikhail |
|
efimov-mikhail
| https://github.com/efimov-mikhail |
|
| https://github.com/python/cpython/pull/142007/files/de4dbb4b7bebda23d43e0d68fcdabcd79e501c7d |
|
| https://github.com/rhettinger |
|
rhettinger
| https://github.com/rhettinger |
|
| https://github.com/dr-carlos |
|
dr-carlos
| https://github.com/dr-carlos |
|
| https://github.com/python/cpython/pull/142007/files/4a2440db3cf5763dc6bd60e7f47e157257e7e7ea |
|
awaiting core review
| https://github.com/python/cpython/issues?q=state%3Aopen%20label%3A%22awaiting%20core%20review%22 |
|
DO-NOT-MERGE
| https://github.com/python/cpython/issues?q=state%3Aopen%20label%3ADO-NOT-MERGE |
|
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 |
| Please reload this page | https://github.com/python/cpython/pull/142007 |
|
| https://github.com/kemingy |
|
| https://github.com/serhiy-storchaka |
|
| https://github.com/efimov-mikhail |
|
| https://github.com/dr-carlos |
|
| https://github.com/rhettinger |
|
| https://github.com/kumaraditya303 |
|
| 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 |