gh-84461: Fix ctypes and test_ctypes on Emscripten by tiran · Pull Request #94142 · python/cpython · GitHub

github.com

Tin mới

tiran:gh-84461-ctypes-tests

GitHub CopilotWrite better code with AI

GitHub Copilot appDirect agents from issue to merge

ActionsAutomate any workflow

CodespacesInstant dev environments

IssuesPlan and track work

Code ReviewManage code changes

Code QualityEnforce quality at merge

GitHub Advanced SecurityFind and fix vulnerabilities

Code securitySecure your code as you build

Secret protectionStop leaks before they start

View all use cases

Financial services

View all industries

Software Development

GitHub SponsorsFund open source developers

Copilot for BusinessEnterprise-grade AI features

Premium SupportEnterprise-grade 24/7 support

Pull requests 2.6k

Security and quality 0

Consider supporting emscripten/webassembly as a build target #84461

needs backport to 3.11

needs backport to 3.11

awaiting core review

awaiting core review

ctypes c_longlong, c_longdouble crash: wasm function signature contains illegal type pyodide/pyodide#2766

emscripten-core/emscripten#16658

Increased to 1000 after: emscripten-core/emscripten#16658

https://github.com/hoodmane/libffi-emscripten/blob/008d7aafde297703eb2f259c969aebf301b01a6d/src/wasm32/ffi.c#L105-L108

Found the culprit: https://github.com/hoodmane/libffi-emscripten/blob/008d7aafde297703eb2f259c969aebf301b01a6d/src/wasm32/ffi.c#L105-L108

: Fix ctypes and test_ctypes on Emscripten

Supports 1000 args with libffi-emscripten 2022-06-23

: Fix ctypes and test_ctypes on Emscripten (

: Fix ctypes and test_ctypes on Emscripten (

Revert 30935 defer bpo45162 to 312 (

emscripten-core/emscripten#17269

https://github.com/python/cpython/issue/89336

Emscripten compilation and execution in browsers shader-slang/slangpy#787