Skip to content

gh-152017: Fix deque_clear to no longer alters exceptions - #152018

Open
brijkapadia wants to merge 4 commits into
python:mainfrom
brijkapadia:deque-copy
Open

brijkapadia wants to merge 4 commits into
python:mainfrom
brijkapadia:deque-copy

Conversation

@brijkapadia

@brijkapadia brijkapadia commented Jun 23, 2026 •

Copy link
Copy Markdown
Contributor

Comment thread Lib/test/test_collections.py Outdated
@brijkapadia

Copy link
Copy Markdown
Contributor Author

@aisk Any update on the status of this pr? It's been sitting for quite a while now.

@rhettinger rhettinger self-assigned this Oct 26, 2026
@rhettinger

Copy link
Copy Markdown
Contributor

Do you have some way to make this cheap? We don't want everyone to have to pay for a problem that no one has.

This is hotpath code gets called everytime a deque is deallocated. It directly affects the creation/deletion life cycle.

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.

4 participants