Skip to content

bpo-36763: Rework _PyInitError API #13031

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 1 commit into from
May 1, 2019
Merged

bpo-36763: Rework _PyInitError API #13031

merged 1 commit into from
May 1, 2019

Conversation

vstinner
Copy link
Member

@vstinner vstinner commented May 1, 2019

  • Remove _PyInitError.user_err field and _Py_INIT_USER_ERR() macro:
    use _Py_INIT_ERR() instead. _Py_ExitInitError() now longer calls
    abort() on error: exit with exit code 1 instead.
  • Add _PyInitError._type private field
  • exitcode field type is now unsigned int on Windows
  • Rename prefix field to _func
  • Rename msg field to err_msg

https://bugs.python.org/issue36763

* Remove _PyInitError.user_err field and _Py_INIT_USER_ERR() macro:
  use _Py_INIT_ERR() instead. _Py_ExitInitError() now longer calls
  abort() on error: exit with exit code 1 instead.
* Add _PyInitError._type private field
* exitcode field type is now unsigned int on Windows
* Rename prefix field to _func
* Rename msg field to err_msg
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