Skip to content

Upstream patch patch-ctypes-static-binary.patch #873

Closed

Description

@zanieb

patch-ctypes-static-binary.patch

Code that runs at ctypes module import time does not work with non-dynamic binaries.

This patch fixes ctypes to work with statically linked binaries. See https://bugs.python.org/issue37060

Activity

  1. zanieb commented on Nov 26, 2025

    @zanieb
    MemberAuthor
  2. brettcannon commented on Jan 23, 2026

    @brettcannon

    This seems reasonable.

  3. ZeroIntensity commented on Jul 18, 2026

    @ZeroIntensity

    See python/cpython#153890 for a PR upstreaming the patch.

  4. added a commit that references this issue on Sep 28, 2026
  5. ZeroIntensity commented on Sep 28, 2026

    @ZeroIntensity

    The upstream patch has now been merged.

  6. added 2 commits that reference this issue on Sep 28, 2026
  7. added a commit that references this issue on Oct 10, 2026
  8. zaniebot commented on Oct 23, 2026

    @zaniebot
    Contributor

    Upstreamed in python/cpython#153890 and backported to Python 3.13, 3.14, and 3.15. PBS still applies the patch for Python 3.12 and older.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions