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

PyUnstable_AtExit isn't well tested and undocumented #127791

Closed
Assignees
ZeroIntensity
Labels
3.13bugs and security fixes3.14bugs and security fixestopic-C-APItype-bugAn unexpected behavior, bug, or error
@ZeroIntensity

Description

@ZeroIntensity

Bug report

Bug description:

While working on#126908,@vstinner noted that this part ofPyUnstable_AtExit looks wrong:

else {
state->last_ll_callback->next=callback;
}

This will result in loss of callbacks after one has been stored, because the second-to-last one is always overwritten. Noted ingh-118915,PyUnstable_AtExit is also undocumented. I'll work on fixing both.

CPython versions tested on:

3.13, 3.14, CPython main branch

Operating systems tested on:

Linux

Linked PRs

Metadata

Metadata

Assignees

Labels

3.13bugs and security fixes3.14bugs and security fixestopic-C-APItype-bugAn unexpected behavior, bug, or error

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions


    [8]ページ先頭

    ©2009-2025 Movatter.jp