]> git.ipfire.org Git - thirdparty/Python/cpython.git/commit
gh-145335: Fix crash when passing -1 as fd in os.pathconf (#145390)
authorAN Long <aisk@users.noreply.github.com>
Mon, 2 Mar 2026 18:07:49 +0000 (03:07 +0900)
committerGitHub <noreply@github.com>
Mon, 2 Mar 2026 18:07:49 +0000 (19:07 +0100)
commit5c3a47b94a39f87c36b1f36704d80775802ad034
tree8f9030bb294a25e2690eac0b38a6bdd10d60a011
parent02288bf0225bea892eaab0d3e13c271761849e22
gh-145335: Fix crash when passing -1 as fd in os.pathconf (#145390)

Co-authored-by: blurb-it[bot] <43283697+blurb-it[bot]@users.noreply.github.com>
Lib/test/test_os/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