mirror of
https://github.com/python/cpython.git
synced 2026-06-06 01:41:04 +00:00
gh-145177: Bump emscripten version to 4.0.19 (#150926)
Bumpts the emscripten version to 4.0.19.
This commit is contained in:
parent
e28a2f4930
commit
c83d3d789e
3 changed files with 7 additions and 3 deletions
|
|
@ -534,7 +534,7 @@ def test_ios_ver(self):
|
|||
|
||||
def test_libc_ver(self):
|
||||
if support.is_emscripten:
|
||||
assert platform.libc_ver() == ("emscripten", "4.0.12")
|
||||
assert platform.libc_ver() == ("emscripten", "4.0.19")
|
||||
return
|
||||
# check that libc_ver(executable) doesn't raise an exception
|
||||
if os.path.isdir(sys.executable) and \
|
||||
|
|
|
|||
|
|
@ -1,7 +1,7 @@
|
|||
# Any data that can vary between Python versions is to be kept in this file.
|
||||
# This allows for blanket copying of the Emscripten build code between supported
|
||||
# Python versions.
|
||||
emscripten-version = "4.0.12"
|
||||
emscripten-version = "4.0.19"
|
||||
node-version = "24"
|
||||
test-args = [
|
||||
"-m", "test",
|
||||
|
|
|
|||
|
|
@ -112,7 +112,7 @@ const prepareBuffer = (buffer, offset, length) =>
|
|||
|
||||
const TTY_OPS = {
|
||||
ioctl_tiocgwinsz(tty) {
|
||||
return tty.devops.ioctl_tiocgwinsz?.();
|
||||
return tty.devops.ioctl_tiocgwinsz?.() ?? [24, 80];
|
||||
},
|
||||
};
|
||||
|
||||
|
|
@ -188,6 +188,10 @@ class NodeReader {
|
|||
fsync() {
|
||||
nodeFsync(this.nodeStream.fd);
|
||||
}
|
||||
|
||||
ioctl_tiocgwinsz() {
|
||||
return [this.nodeStream.rows ?? 24, this.nodeStream.columns ?? 80];
|
||||
}
|
||||
}
|
||||
|
||||
class NodeWriter {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue