Movatterモバイル変換


[0]ホーム

URL:


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

_Py_RefcntAdd doesn't respect immortality #104142

Closed
Assignees
brandtbucher
Labels
3.12only security fixesinterpreter-core(Objects, Python, Grammar, and Parser dirs)release-blockertriagedThe issue has been accepted as valid by a triager.type-bugAn unexpected behavior, bug, or error
@brandtbucher

Description

@brandtbucher

This is used bylist andtuple internally:

>>>importsys>>>sys.getrefcount(None)== (1<<32)-1True>>>refs= [None]*42>>>sys.getrefcount(None)== (1<<32)-1False>>>delrefs>>>sys.getrefcount(None)== (1<<32)-1True

I'll have a PR up in a bit.

CC:@ericsnowcurrently,@eduardo-elizondo

Linked PRs

Metadata

Metadata

Assignees

Labels

3.12only security fixesinterpreter-core(Objects, Python, Grammar, and Parser dirs)release-blockertriagedThe issue has been accepted as valid by a triager.type-bugAn unexpected behavior, bug, or error

Projects

Status

Done

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions


    [8]ページ先頭

    ©2009-2025 Movatter.jp