[issue44321] os.EX_OK for Windows

2021-06-24 Thread Steve Dower
Steve Dower added the comment: New changeset 19459f8ce63cc7f905e3c1a55d09d4d10d245343 by Samuel Marks in branch 'main': bpo-44321: Adds `os.EX_OK` for Windows (GH-26559) https://github.com/python/cpython/commit/19459f8ce63cc7f905e3c1a55d09d4d10d245343 -- ___

[issue44321] os.EX_OK for Windows

2021-06-24 Thread Steve Dower
Steve Dower added the comment: Thanks for the patch! -- resolution: -> fixed stage: patch review -> resolved status: open -> closed ___ Python tracker ___ ___

[issue44321] os.EX_OK for Windows

2021-06-06 Thread Samuel Marks
Samuel Marks added the comment: `EXIT_SUCCESS` is defined in `stdlib.h`, as per https://docs.microsoft.com/en-us/cpp/c-runtime-library/exit-success-exit-failure (following the standard https://pubs.opengroup.org/onlinepubs/009695399/basedefs/stdlib.h.html) There are also https://docs.micro

[issue44321] os.EX_OK for Windows

2021-06-06 Thread Samuel Marks
Change by Samuel Marks : -- keywords: +patch pull_requests: +25147 stage: -> patch review pull_request: https://github.com/python/cpython/pull/26559 ___ Python tracker ___ ___

[issue44321] os.EX_OK for Windows

2021-06-06 Thread Samuel Marks
New submission from Samuel Marks : Since Python 2.3 alpha 2 [19-Feb-2003] `EX_OK` has existed… but only for Unix. This adds support for Windows. -- components: Windows messages: 395203 nosy: paul.moore, samuelmarks, steve.dower, tim.golden, zach.ware priority: normal severity: normal st