]> git.ipfire.org Git - thirdparty/Python/cpython.git/commit
[3.14] gh-127146: Emscripten: Make os.umask() actually work (GH-136706) (#136711)
authorMiss Islington (bot) <31488909+miss-islington@users.noreply.github.com>
Wed, 16 Jul 2025 16:12:36 +0000 (18:12 +0200)
committerGitHub <noreply@github.com>
Wed, 16 Jul 2025 16:12:36 +0000 (16:12 +0000)
commit4eee754091eb1f4cf0d989d5d780ca8da45bb0ed
tree4817c9d8c3f92d7e7ca06894ae9256a9e4f8b30e
parentca6db4fdae9e2a7369502218b46b03c2624a0836
[3.14] gh-127146: Emscripten: Make os.umask() actually work (GH-136706) (#136711)

Provide a stub implementation of umask that is enough to get some tests passing.
More work is needed upstream in Emscripten to make all umask tests to pass.
(cherry picked from commit 12e52cad718723636a96042f9399634392285c44)

Co-authored-by: Hood Chatham <roberthoodchatham@gmail.com>
Lib/test/test_os.py
Python/emscripten_syscalls.c