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

Backport ofPyConfig.use_system_logger has changed ABI in a patch 3.13.1 -> 3.13.2 #130940

Closed
@davidhewitt

Description

@davidhewitt

Bug report

Bug description:

In#127592 a newPyConfig flag was added for apple platforms to allow use of the system logger.

This PR looks like it was backported to all branches from 3.9 through to 3.13, and has been released in 3.13.2and 3.12.9.

Unfortunately, this has changed the public ABI (layout of thePyConfig struct) on a patch release. This means that binaries using thePyConfig API and built using 3.13.1 or 3.13.0(or 3.12.8) will potentially misbehave if running against a newer interpreter.

I picked this up after getting a PyO3 "FFI check" failure on 3.13.2, reporting that our FFI bindings were no longer compatible with CPython.

In PEP 741 it was previously noted that backporting a flag to break the public ABI was decided against, so I believe this to be a bug.

Do I wait for CPython to revert this? Or do I make PyO3 adjust to the new ABI (and break compatibility with all existing interpreters)?

ping@vstinner as I know you have been very active on this API.

CPython versions tested on:

3.13

Operating systems tested on:

macOS

Linked PRs

Metadata

Metadata

Assignees

No one assigned

    Projects

    Status

    Done

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions


      [8]ページ先頭

      ©2009-2025 Movatter.jp