astral-sh / astral-sh/python-build-standalone

Upstream patch `patch-ctypes-static-binary.patch`

Open
#873 3 comments 0 reactions 0 assignees View on GitHub
Dominant language
Python
Stars
4.4k
Forks
314
Avg merge
1d 9h
Merged PRs (30d)
27

Description

[`patch-ctypes-static-binary.patch`](https://github.com/astral-sh/python-build-standalone/blob/main/cpython-unix/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

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.