Skip to content

Commit 5d1d553

Browse files
Update Misc/NEWS.d/next/Library/2025-07-19-11-53-19.gh-issue-135427.iJM_X2.rst
Co-authored-by: Petr Viktorin <encukou@gmail.com>
1 parent a0fc743 commit 5d1d553

1 file changed

Lines changed: 4 additions & 1 deletion

File tree

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1,4 @@
1-
A DeprecationWarning is now provided for os.fork and os.forkpty when run within a thread with -Werror.
1+
With :option:`-Werror <-W>`, the DeprecationWarning emitted by :py:func:`os.fork`
2+
and :py:func:`os.forkpty` in mutli-threaded processes is now raised as an exception.
3+
Previously it was silently ignored.
4+
Patch by Rani Pinchuk.

0 commit comments

Comments
 (0)