]> git.ipfire.org Git - thirdparty/Python/cpython.git/commit
gh-84461: Fix ctypes and test_ctypes on Emscripten (#94142)
authorChristian Heimes <christian@python.org>
Fri, 24 Jun 2022 10:40:43 +0000 (12:40 +0200)
committerGitHub <noreply@github.com>
Fri, 24 Jun 2022 10:40:43 +0000 (12:40 +0200)
commit8625802d854ec0152177a6ff0ac092e0e3ff98a5
treed401c4014ca633de8cbdbc9db7b57b2bbdb2bb21
parentab077d1e17032f84514292ae3fb8dee9bcfd2ce9
gh-84461: Fix ctypes and test_ctypes on Emscripten (#94142)

- c_longlong and c_longdouble need experimental WASM bigint.
- Skip tests that need threading
- Define ``CTYPES_MAX_ARGCOUNT`` for Emscripten. libffi-emscripten 2022-06-23 supports up to 1000 args.
Lib/test/test_code.py
Lib/test/test_ctypes/test_as_parameter.py
Lib/test/test_ctypes/test_callbacks.py
Lib/test/test_ctypes/test_cfuncs.py
Lib/test/test_ctypes/test_functions.py
Modules/_ctypes/ctypes.h
Tools/wasm/README.md
configure
configure.ac