◐ Shell
clean mode source ↗

bpo-36763: Add _PyInitError functions by vstinner · Pull Request #13395 · python/cpython

Skip to content

Navigation Menu

Provide feedback

Saved searches

Use saved searches to filter your results more quickly

Sign up

Appearance settings

Merged

vstinner

merged 2 commits into

May 17, 2019

Conversation

@vstinner

  • Add _PyInitError functions:

    • _PyInitError_Ok()
    • _PyInitError_Error()
    • _PyInitError_NoMemory()
    • _PyInitError_Exit()
    • _PyInitError_IsError()
    • _PyInitError_IsExit()
    • _PyInitError_Failed()
  • frozenmain.c and _testembed.c now use functions rather than macros.

  • Move _Py_INIT_xxx() macros to the internal API.

  • Move _PyWstrList_INIT macro to the internal API.

https://bugs.python.org/issue36763

* Add _PyInitError functions:

  * _PyInitError_Ok()
  * _PyInitError_Error()
  * _PyInitError_NoMemory()
  * _PyInitError_Exit()
  * _PyInitError_IsError()
  * _PyInitError_IsExit()
  * _PyInitError_Failed()

* frozenmain.c and _testembed.c now use functions rather than macros.
* Move _Py_INIT_xxx() macros to the internal API.
* Move _PyWstrList_INIT macro to the internal API.

Labels