]> git.ipfire.org Git - thirdparty/Python/cpython.git/commit
[3.14] gh-145335: Fix crash when passing -1 as fd in os.pathconf (GH-145390) (#145433)
authorMiss Islington (bot) <31488909+miss-islington@users.noreply.github.com>
Mon, 2 Mar 2026 18:33:47 +0000 (19:33 +0100)
committerGitHub <noreply@github.com>
Mon, 2 Mar 2026 18:33:47 +0000 (18:33 +0000)
commit504436870b7dacc18a4f88a4beaf0ee80163e4b4
tree98d5daa3400f8d13e51a8a96b4caa8372ca67ca6
parent4f079382cd07e9b738d3fcfc9ed512370f3138d7
[3.14] gh-145335: Fix crash when passing -1 as fd in os.pathconf (GH-145390) (#145433)

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