Title: gh-141805: avoid increase the set->used twice when the __eq__ trigger another add by kemingy · Pull Request #142007 · python/cpython · GitHub
Open Graph Title: gh-141805: avoid increase the set->used twice when the __eq__ trigger another add by kemingy · Pull Request #142007 · python/cpython
X Title: gh-141805: avoid increase the set->used twice when the __eq__ trigger another add by kemingy · Pull Request #142007 · python/cpython
Description: The Python programming language. Contribute to python/cpython development by creating an account on GitHub.
Open Graph Description: 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...
X Description: 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...
Opengraph URL: https://github.com/python/cpython/pull/142007
X: @github
Domain: github.com
| route-pattern | /:user_id/:repository/pull/:id/commits(.:format) |
| route-controller | pull_requests |
| route-action | commits |
| fetch-nonce | v2:61626047-2242-2456-87ef-8a645f8ffd1b |
| current-catalog-service-hash | ae870bc5e265a340912cde392f23dad3671a0a881730ffdadd82f2f57d81641b |
| request-id | C6DE:2C2C4D:CE347A:11D8F94:696A8BAE |
| html-safe-nonce | 0d219ae798fd8114d843fc68b3dac2fceca513cf8795510ca47f75267f48e99a |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJDNkRFOjJDMkM0RDpDRTM0N0E6MTFEOEY5NDo2OTZBOEJBRSIsInZpc2l0b3JfaWQiOiI4OTMwNTY1ODUxNTU5MTM2MTc0IiwicmVnaW9uX2VkZ2UiOiJpYWQiLCJyZWdpb25fcmVuZGVyIjoiaWFkIn0= |
| visitor-hmac | bcad22d0746ed7fc2c09ba0c547ce44a1ada10d353d3cc2dae651e477e31ba05 |
| 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 | / |
| fb:app_id | 1401488693436528 |
| apple-itunes-app | app-id=1477376905, app-argument=https://github.com/python/cpython/pull/142007/commits |
| 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 | d2aa6dedd7d97fa651b17c40401f2605f309df5ca5fb659bf0554cf34f1de825 |
| turbo-cache-control | no-cache |
| 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 | c1dbca8981c5e3d6a69bce2f1d289e732b86241d |
| ui-target | full |
| theme-color | #1e2327 |
| color-scheme | light dark |
Links:
Viewport: width=device-width