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

Skip to content

Navigation Menu

Sign in

Appearance settings

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up

Appearance settings

Merged

vstinner merged 2 commits intopython:masterfrom

vstinner:pyiniterror_funcs

May 17, 2019

Merged

bpo-36763: Add _PyInitError functions#13395

vstinner merged 2 commits intopython:masterfrom

vstinner:pyiniterror_funcs

Conversation

@vstinner

Copy link Copy Markdown

Member

@vstinner vstinner commented

May 17, 2019

edited by bedevere-bot

Loading

  • 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

Reviewers

@brettcannon brettcannon Awaiting requested review from brettcannon

@encukou encukou Awaiting requested review from encukou

@ericsnowcurrently ericsnowcurrently Awaiting requested review from ericsnowcurrently

@ncoghlan ncoghlan Awaiting requested review from ncoghlan

@warsaw warsaw Awaiting requested review from warsaw

Assignees

No one assigned

Projects

None yet

Milestone

No milestone

Development

Successfully merging this pull request may close these issues.

3 participants

@vstinner @the-knights-who-say-ni @bedevere-bot