]> git.ipfire.org Git - thirdparty/Python/cpython.git/commit
[3.13] gh-145335: Fix crash when passing -1 as fd in os.pathconf (GH-145390) (#145432)
authorMiss Islington (bot) <31488909+miss-islington@users.noreply.github.com>
Mon, 2 Mar 2026 18:32:29 +0000 (19:32 +0100)
committerGitHub <noreply@github.com>
Mon, 2 Mar 2026 18:32:29 +0000 (18:32 +0000)
commitd305326458a3d78409bc7721ce4245a5bfbc0a6c
tree57635e351c4b4f303602c0c31c10110a351484b3
parenta59436d89768ee5bab22f740f82e137c12f910a9
[3.13] gh-145335: Fix crash when passing -1 as fd in os.pathconf (GH-145390) (#145432)

gh-145335: Fix crash when passing -1 as fd in os.pathconf (GH-145390)
(cherry picked from commit 5c3a47b94a39f87c36b1f36704d80775802ad034)

Co-authored-by: AN Long <aisk@users.noreply.github.com>
Co-authored-by: blurb-it[bot] <43283697+blurb-it[bot]@users.noreply.github.com>
Lib/test/test_os.py
Misc/NEWS.d/next/Core_and_Builtins/2026-03-01-13-37-31.gh-issue-145335.e36kPJ.rst [new file with mode: 0644]
Modules/posixmodule.c