cpython/Misc/NEWS.d/next/Windows
Sam Gross ad6110a93f
gh-125842: Fix `sys.exit(0xffff_ffff)` on Windows (#125896)
On Windows, `long` is a signed 32-bit integer so it can't represent
`0xffff_ffff` without overflow. Windows exit codes are unsigned 32-bit
integers, so if a child process exits with `-1`, it will be represented
as `0xffff_ffff`.

Also fix a number of other possible cases where `_Py_HandleSystemExit`
could return with an exception set, leading to a `SystemError` (or
fatal error in debug builds) later on during shutdown.
2024-10-24 12:03:50 -04:00
..
2024-10-15-21-28-43.gh-issue-125550.hmGWCP.rst gh-125550: Enable py.exe to detect Store installs of 3.14 (GH-125551) 2024-10-16 23:05:20 +01:00
2024-10-23-17-24-23.gh-issue-125842.m3EF9E.rst gh-125842: Fix `sys.exit(0xffff_ffff)` on Windows (#125896) 2024-10-24 12:03:50 -04:00
README.rst Link to blurb on PyPI in the NEWS.d READMEs. (#3323) 2017-09-05 10:38:05 -07:00

README.rst

Put news entry `blurb`_ files for the *Windows* section in this directory.

.. _blurb: https://pypi.org/project/blurb/