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

_PyErr_ChainExceptions1 no longer avallable to extension modules in Python 3.13 alpha headers #116809

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

Description

@rogerbinns

Bug report

Bug description:

The API_PyErr_ChainExceptions1 has been removed from public headers as part ofthis change in Python 3.13 alpha. It is the only C API available to chain exceptions replacing_PyErr_ChainExceptions. That change was publicly documented in the3.12 whatsnew.

In my extemsion module I use_PyErr_ChainExceptions for exception chaining for Python <= 3.11 fromPEP 490 and_PyErr_ChainExceptions1for 3.12+.

Please provide an approved way for C extensions to continue to chain exceptions. The function is still present and I can duplicate the prototype for all to continue working, but that is not a desirable solution.

CPython versions tested on:

3.13

Operating systems tested on:

Linux

Linked PRs

Metadata

Metadata

Assignees

No one assigned

    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