]> git.ipfire.org Git - thirdparty/Python/cpython.git/commit
[3.10] gh-102179: Fix `os.dup2` error reporting for negative fds (GH-102180) (#102419)
authorMiss Islington (bot) <31488909+miss-islington@users.noreply.github.com>
Sat, 4 Mar 2023 15:27:32 +0000 (07:27 -0800)
committerGitHub <noreply@github.com>
Sat, 4 Mar 2023 15:27:32 +0000 (20:57 +0530)
commit925ebfbfd22ac2ba3315ff427b9739d1e1907664
treed100b3b3e65fc2b108bce9cf06fc63b2786bc9bc
parentfe36778968a0fdddada282fbd7e28e8ccd0debe0
[3.10] gh-102179: Fix `os.dup2` error reporting for negative fds (GH-102180) (#102419)

* gh-102179: Fix `os.dup2` error reporting for negative fds (GH-102180)
(cherry picked from commit c2bd55d26f8eb2850eb9f9026b5d7f0ed1420b65)

Co-authored-by: Alexey Izbyshev <izbyshev@ispras.ru>
Co-authored-by: Kumar Aditya <59607654+kumaraditya303@users.noreply.github.com>
Lib/test/test_os.py
Misc/NEWS.d/next/Library/2023-02-23-15-06-01.gh-issue-102179.P6KQ4c.rst [new file with mode: 0644]
Modules/posixmodule.c