Title: bpo-46006: Fix _PyUnicode_EqualToASCIIId() for interned strings by vstinner · Pull Request #30123 · python/cpython · GitHub
Open Graph Title: bpo-46006: Fix _PyUnicode_EqualToASCIIId() for interned strings by vstinner · Pull Request #30123 · python/cpython
X Title: bpo-46006: Fix _PyUnicode_EqualToASCIIId() for interned strings by vstinner · Pull Request #30123 · python/cpython
Description: Fix string comparisons for subinterpreters: no longer make the assumption that two interned strings are not equal if they have different different memory addresses. This assumption is no longer true since interned strings have been made per interpreter in Python 3.10. Fix _PyUnicode_EqualToASCIIId() and type update_slot() functions. The change makes update_slot() a little bit less efficient: update_slot() now compares the strings contents, rather than comparing strings memory addresses. https://bugs.python.org/issue46006
Open Graph Description: Fix string comparisons for subinterpreters: no longer make the assumption that two interned strings are not equal if they have different different memory addresses. This assumption is no longer tru...
X Description: Fix string comparisons for subinterpreters: no longer make the assumption that two interned strings are not equal if they have different different memory addresses. This assumption is no longer tru...
Opengraph URL: https://github.com/python/cpython/pull/30123
X: @github
Domain: github.com
| route-pattern | /:user_id/:repository/pull/:id/files(.:format) |
| route-controller | pull_requests |
| route-action | files |
| fetch-nonce | v2:b078a290-862f-8468-e3f0-ab65918ecac4 |
| current-catalog-service-hash | ae870bc5e265a340912cde392f23dad3671a0a881730ffdadd82f2f57d81641b |
| request-id | 8E9A:96FA2:A51E4B:E1AEB9:6969E5FE |
| html-safe-nonce | 6e499e7405791278b56fe96e8d54c82c1b98b4c2dfb24955aa15fed9e3a85d9b |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiI4RTlBOjk2RkEyOkE1MUU0QjpFMUFFQjk6Njk2OUU1RkUiLCJ2aXNpdG9yX2lkIjoiNDk3OTE1MTU4NTExMTgyNzk2NiIsInJlZ2lvbl9lZGdlIjoiaWFkIiwicmVnaW9uX3JlbmRlciI6ImlhZCJ9 |
| visitor-hmac | d0d432b919b6985319c7acae6983fd14347ec7428c5f608056bab6ddba398de7 |
| hovercard-subject-tag | pull_request:803541995 |
| 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/30123/files |
| twitter:image | https://avatars.githubusercontent.com/u/194129?s=400&v=4 |
| twitter:card | summary_large_image |
| og:image | https://avatars.githubusercontent.com/u/194129?s=400&v=4 |
| og:image:alt | Fix string comparisons for subinterpreters: no longer make the assumption that two interned strings are not equal if they have different different memory addresses. This assumption is no longer tru... |
| og:site_name | GitHub |
| og:type | object |
| hostname | github.com |
| expected-hostname | github.com |
| None | 7b32f1c7c4549428ee399213e8345494fc55b5637195d3fc5f493657579235e8 |
| turbo-cache-control | no-preview |
| diff-view | unified |
| 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 full-width |
| disable-turbo | true |
| browser-stats-url | https://api.github.com/_private/browser/stats |
| browser-errors-url | https://api.github.com/_private/browser/errors |
| release | bdde15ad1b403e23b08bbd89b53fbe6bdf688cad |
| ui-target | full |
| theme-color | #1e2327 |
| color-scheme | light dark |
Links:
Viewport: width=device-width