You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
os.dup2() raises wrong OSError for negative fds #102179
The bug is caused by the old manual sign check that at some point lost the part that set
errno:cpython/Modules/posixmodule.c
Lines 9832 to 9834 in c3a1783
I'm going to submit a PR with the fix.
Linked PRs
os.dup2error reporting for negative fds (GH-102180) #102419os.dup2error reporting for negative fds (GH-102180) #102420