This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

Title: os.EX_OK for Windows
Type: enhancement Stage: resolved
Components: Windows Versions:
Status: closed Resolution: fixed
Dependencies: Superseder:
Assigned To: Nosy List: paul.moore, samuelmarks, steve.dower, tim.golden, zach.ware
Priority: normal Keywords: patch

Created on 2021-06-06 10:40 by samuelmarks, last changed 2022-04-11 14:59 by admin. This issue is now closed.

Pull Requests
URL Status Linked Edit
PR 26559 merged samuelmarks, 2021-06-06 10:41
Messages (4)
msg395203 - (view) Author: Samuel Marks (samuelmarks) * Date: 2021-06-06 10:40
Since Python 2.3 alpha 2 [19-Feb-2003] `EX_OK` has existed… but only for Unix. This adds support for Windows.
msg395204 - (view) Author: Samuel Marks (samuelmarks) * Date: 2021-06-06 10:52
`EXIT_SUCCESS` is defined in `stdlib.h`, as per (following the standard

There are also which has many equivalents to the `<sysexists.h>` (in `<errno.h>`).

Kinda related:
msg396500 - (view) Author: Steve Dower (steve.dower) * (Python committer) Date: 2021-06-24 16:45
New changeset 19459f8ce63cc7f905e3c1a55d09d4d10d245343 by Samuel Marks in branch 'main':
bpo-44321: Adds `os.EX_OK` for Windows (GH-26559)
msg396501 - (view) Author: Steve Dower (steve.dower) * (Python committer) Date: 2021-06-24 16:46
Thanks for the patch!
Date User Action Args
2022-04-11 14:59:46adminsetgithub: 88487
2021-06-24 16:46:01steve.dowersetstatus: open -> closed
resolution: fixed
messages: + msg396501

stage: patch review -> resolved
2021-06-24 16:45:26steve.dowersetmessages: + msg396500
2021-06-06 10:52:33samuelmarkssetmessages: + msg395204
2021-06-06 10:41:44samuelmarkssetkeywords: + patch
stage: patch review
pull_requests: + pull_request25147
2021-06-06 10:40:29samuelmarkscreate