]> git.ipfire.org Git - thirdparty/Python/cpython.git/commit
gh-84461: Fix ctypes and test_ctypes on Emscripten (GH-94142)
authorMiss Islington (bot) <31488909+miss-islington@users.noreply.github.com>
Fri, 24 Jun 2022 11:17:21 +0000 (04:17 -0700)
committerGitHub <noreply@github.com>
Fri, 24 Jun 2022 11:17:21 +0000 (04:17 -0700)
commit4d2c972ff7d84ec75b23dcdda478714655538d34
tree990b168b89315824f42b5679510b33be4c68bb2c
parente4d72d1863fa846f984c4e8f1ace937a30e11bf4
gh-84461: Fix ctypes and test_ctypes on Emscripten (GH-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.
(cherry picked from commit 8625802d854ec0152177a6ff0ac092e0e3ff98a5)

Co-authored-by: Christian Heimes <christian@python.org>
Lib/ctypes/test/test_as_parameter.py
Lib/ctypes/test/test_callbacks.py
Lib/ctypes/test/test_cfuncs.py
Lib/ctypes/test/test_functions.py
Lib/test/test_code.py
Modules/_ctypes/ctypes.h
Tools/wasm/README.md
configure
configure.ac