Skip to content

bpo-36763: Add _PyInitError functions #13395

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 2 commits into from
May 17, 2019
Merged

bpo-36763: Add _PyInitError functions #13395

merged 2 commits into from
May 17, 2019

Conversation

vstinner
Copy link
Member

@vstinner vstinner commented May 17, 2019

  • 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.
@vstinner vstinner merged commit 871ff77 into python:master May 17, 2019
@vstinner vstinner deleted the pyiniterror_funcs branch May 17, 2019 21:54
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants