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

The callback signature forPY_THROW is inconsistent with the other exception handling callbacks #107724

Closed
Labels
3.12only security fixesrelease-blockertype-bugAn unexpected behavior, bug, or error
@markshannon

Description

@markshannon

The callbacks forRAISE,RERAISE,EXCEPTION_HANDLED,PY_UNWIND andSTOP_ITERATION all take the exception as their third argument.
PY_THROW is the odd one out, but it should be consistent with the others.
PY_THROW is a rare event, so this got overlooked. We should fix it before the next release of 3.12.

Fortunately it is very easy to fix.

Linked PRs

Metadata

Metadata

Assignees

No one assigned

    Labels

    3.12only security fixesrelease-blockertype-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