Skip to content

gh-161226: Copy the tuple in _PyTuple_Resize() if the hash is cached - #161227

Open
vstinner wants to merge 1 commit into
python:mainfrom
vstinner:tuple_resize
Open

vstinner wants to merge 1 commit into
python:mainfrom
vstinner:tuple_resize

Conversation

@vstinner

@vstinner vstinner commented Nov 3, 2026 •

Copy link
Copy Markdown
Member
  • Add tuple_resize_inplace() helper function.
  • Add compute_hash optional parameter to _testcapi._tuple_resize().

…ached

* Add tuple_resize_inplace() helper function.
* Add compute_hash optional parameter to _testcapi._tuple_resize().
@read-the-docs-community

Copy link
Copy Markdown

Documentation build overview

📚 cpython-previews | 🛠️ Build #35598685 | 📁 Comparing 7e12faa against main (3945eaf)

  🔍 Preview build  

2 files changed
± c-api/tuple.html
± whatsnew/changelog.html

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant