-
-
Notifications
You must be signed in to change notification settings - Fork 34k
gh-140232: Do not track frozenset objects with immutables #140234
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
eendebakpt
wants to merge
46
commits into
python:main
Choose a base branch
from
eendebakpt:frozenset_immutable_tracking
base: main
Could not load branches
Branch not found: {{ refName }}
Loading
Could not load tags
Nothing to show
Loading
Are you sure you want to change the base?
Some commits from the old base branch may be removed from the timeline,
and old review comments may become outdated.
+114
−3
Open
Changes from all commits
Commits
Show all changes
46 commits
Select commit
Hold shift + click to select a range
a3292c2
Do not track frozenset objects with immutables
eendebakpt cd294a6
cleanup
eendebakpt 7e28cf2
cleanup
eendebakpt 30057a5
Merge branch 'main' into frozenset_immutable_tracking
eendebakpt c4deb03
fix test
eendebakpt 607237a
📜🤖 Added by blurb_it.
blurb-it[bot] 2735a71
Update Objects/setobject.c
eendebakpt c05db54
make sure PySet_Add tracks frozensets if needed
eendebakpt 7f6bc4b
Merge branch 'frozenset_immutable_tracking' of github.com:eendebakpt/…
eendebakpt 0b97604
review comment
eendebakpt 948daed
Merge branch 'main' into frozenset_immutable_tracking
eendebakpt 08e22c3
use _testcapi for testing
eendebakpt 62afc76
whitespace
eendebakpt eab653e
Merge branch 'main' into frozenset_immutable_tracking
eendebakpt 37fc61d
Apply suggestions from code review
eendebakpt 4f8bda7
review comment
eendebakpt e9d42b4
Merge branch 'frozenset_immutable_tracking' of github.com:eendebakpt/…
eendebakpt 4b39149
Apply suggestions from code review
eendebakpt 2859802
review comments
eendebakpt 08f43c5
review comments
eendebakpt d12102c
Merge branch 'main' into frozenset_immutable_tracking
eendebakpt 5f8b1f2
Update Objects/setobject.c
eendebakpt ae5cc7f
review comments
eendebakpt 786019d
Update Lib/test/test_set.py
eendebakpt f37f46e
Update Modules/_testcapimodule.c
eendebakpt afd8a5b
Merge branch 'main' into frozenset_immutable_tracking
eendebakpt 377e6d8
Apply suggestions from code review
eendebakpt c62fa9a
revert to fastcall
eendebakpt 69b728f
Merge branch 'frozenset_immutable_tracking' of github.com:eendebakpt/…
eendebakpt 71d9eba
fix header
eendebakpt 5c19de2
Fully write test in C
eendebakpt e7dd248
adjust tests
eendebakpt 075b582
cleanup tests
eendebakpt 3dd4c95
cleanup tests
eendebakpt 8d864ef
rework
eendebakpt e262963
refactor code
eendebakpt 6027391
cleanup
eendebakpt 6269f68
Merge branch 'main' into frozenset_immutable_tracking
eendebakpt 37af64f
Update Modules/_testlimitedcapi/set.c
eendebakpt ea3ba39
Merge branch 'main' into frozenset_immutable_tracking
eendebakpt ff61155
Update Modules/_testlimitedcapi/set.c
eendebakpt 6bb0d58
Apply suggestions from code review
eendebakpt 7a4859b
Update Objects/setobject.c
vstinner a2bcfdb
review comment
eendebakpt 88c3f4a
whitespace
eendebakpt be20046
Merge branch 'main' into frozenset_immutable_tracking
eendebakpt File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Some comments aren't visible on the classic Files Changed page.
There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
1 change: 1 addition & 0 deletions
1
Misc/NEWS.d/next/Core_and_Builtins/2025-10-16-22-36-05.gh-issue-140232.u3srgv.rst
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1 @@ | ||
| Frozenset objects with immutable elements are no longer tracked by the garbage collector. |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Uh oh!
There was an error while loading. Please reload this page.