Skip to content
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

bpo-40521: Make the empty frozenset per interpreter #21068

Merged
merged 1 commit into from
Jun 23, 2020
Merged

bpo-40521: Make the empty frozenset per interpreter #21068

merged 1 commit into from
Jun 23, 2020

Conversation

vstinner
Copy link
Member

@vstinner vstinner commented Jun 23, 2020

Each interpreter now has its own empty frozenset singleton.

https://bugs.python.org/issue40521

@vstinner
Copy link
Member Author

I checked the following tests for reference leaks using "./python -m test -R 3:3": there is no leak.

  • test_setcomps
  • test_set
  • test_atexit
  • test_capi
  • test_threading
  • test_interpreters
  • test__xxsubinterpreters

Each interpreter now has its own empty frozenset singleton.
@vstinner vstinner merged commit 261cfed into python:master Jun 23, 2020
@vstinner vstinner deleted the interp_empty_frozenset branch June 23, 2020 12:07
rhettinger added a commit to rhettinger/cpython that referenced this pull request Jun 23, 2020
vstinner pushed a commit that referenced this pull request Jun 23, 2020
* Revert "bpo-40521: Make the empty frozenset per interpreter (GH-21068)"

This reverts commit 261cfed.

* bpo-40521: Empty frozensets are no longer singletons

* Complete the removal of the frozenset singleton
fasih pushed a commit to fasih/cpython that referenced this pull request Jun 29, 2020
Each interpreter now has its own empty frozenset singleton.
fasih pushed a commit to fasih/cpython that referenced this pull request Jun 29, 2020
* Revert "bpo-40521: Make the empty frozenset per interpreter (pythonGH-21068)"

This reverts commit 261cfed.

* bpo-40521: Empty frozensets are no longer singletons

* Complete the removal of the frozenset singleton
arun-mani-j pushed a commit to arun-mani-j/cpython that referenced this pull request Jul 21, 2020
Each interpreter now has its own empty frozenset singleton.
arun-mani-j pushed a commit to arun-mani-j/cpython that referenced this pull request Jul 21, 2020
* Revert "bpo-40521: Make the empty frozenset per interpreter (pythonGH-21068)"

This reverts commit 261cfed.

* bpo-40521: Empty frozensets are no longer singletons

* Complete the removal of the frozenset singleton
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants