-
- Notifications
You must be signed in to change notification settings - Fork 33.6k
Closed
Labels
3.12only security fixesonly security fixesinterpreter-core(Objects, Python, Grammar, and Parser dirs)(Objects, Python, Grammar, and Parser dirs)release-blockertriagedThe issue has been accepted as valid by a triager.The issue has been accepted as valid by a triager.type-bugAn unexpected behavior, bug, or errorAn unexpected behavior, bug, or error
Description
This is used by list and tuple internally:
>>> import sys >>> sys.getrefcount(None) == (1 << 32) - 1 True >>> refs = [None] * 42 >>> sys.getrefcount(None) == (1 << 32) - 1 False >>> del refs >>> sys.getrefcount(None) == (1 << 32) - 1 TrueI'll have a PR up in a bit.
CC: @ericsnowcurrently, @eduardo-elizondo
Linked PRs
Metadata
Metadata
Assignees
Labels
3.12only security fixesonly security fixesinterpreter-core(Objects, Python, Grammar, and Parser dirs)(Objects, Python, Grammar, and Parser dirs)release-blockertriagedThe issue has been accepted as valid by a triager.The issue has been accepted as valid by a triager.type-bugAn unexpected behavior, bug, or errorAn unexpected behavior, bug, or error
Projects
Status
Done