Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

gh-141805: Fix crash after concurrent addition objects with the same hash to set #143815

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
serhiy-storchaka wants to merge 1 commit into python:main
base: main
Choose a base branch
Loading
from serhiy-storchaka:set-concurrent-add

Conversation

@serhiy-storchaka
Copy link
Member

@serhiy-storchaka serhiy-storchaka commented Jan 13, 2026
edited by bedevere-app bot
Loading

This happens when the set contained several elements with the same hash, and then some of them were removed.

... same hash to set
This happens when the set contained several elements with the same hash,
and then some of them were removed.
Copy link
Member

I think this also fixes #143546. (N.B.: on my system I can't trigger a crash with left &= right from issue, but left |= right - "works" for me.)

yihong0618 reacted with thumbs up emoji

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

Reviewers

@rhettinger rhettinger Awaiting requested review from rhettinger rhettinger is a code owner

Assignees

No one assigned

Labels

Projects

None yet

Milestone

No milestone

Development

Successfully merging this pull request may close these issues.

AltStyle によって変換されたページ (->オリジナル) /