diff options
author | Christian Heimes <christian@python.org> | 2022-09-13 10:06:39 (GMT) |
---|---|---|
committer | GitHub <noreply@github.com> | 2022-09-13 10:06:39 (GMT) |
commit | 4958820032d547cf7a1ebd619460d778ec143f9c (patch) | |
tree | c815e5ef7fc33c15f794534ced51d72616cf6844 /Modules | |
parent | 390123b412346eb4438665f068bb73226ac84e7c (diff) | |
download | cpython-4958820032d547cf7a1ebd619460d778ec143f9c.zip cpython-4958820032d547cf7a1ebd619460d778ec143f9c.tar.gz cpython-4958820032d547cf7a1ebd619460d778ec143f9c.tar.bz2 |
[3.11] gh-95853: Add script to automate WASM build (GH-95828, GH-95985, GH-96045, GH-96389, GH-96744) (GH-96749)
Automate WASM build with a new Python script. The script provides
several build profiles with configure flags for Emscripten flavors
and WASI. The script can detect and use Emscripten SDK and WASI SDK from
default locations or env vars.
``configure`` now detects Node arguments and creates HOSTRUNNER
arguments for Node 16. It also sets correct arguments for
``wasm64-emscripten``.
Diffstat (limited to 'Modules')
-rw-r--r-- | Modules/pyexpat.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Modules/pyexpat.c b/Modules/pyexpat.c index 12319ee..a971342 100644 --- a/Modules/pyexpat.c +++ b/Modules/pyexpat.c @@ -775,7 +775,7 @@ readinst(char *buf, int buf_size, PyObject *meth) Py_ssize_t len; const char *ptr; - str = PyObject_CallFunction(meth, "n", buf_size); + str = PyObject_CallFunction(meth, "i", buf_size); if (str == NULL) goto error; |