Skip to content

Conversation

vstinner
Copy link
Member

@vstinner vstinner commented Mar 6, 2020

The Py_FatalError() function is replaced with a macro which logs
automatically the name of the current function, unless the
Py_LIMITED_API macro is defined.

Changes:

  • Add _Py_FatalErrorFunc() function.
  • Remove the function name from the message of Py_FatalError() calls
    which included the function name.
  • Update tests.

https://bugs.python.org/issue39882

The Py_FatalError() function is replaced with a macro which logs
automatically the name of the current function, unless the
Py_LIMITED_API macro is defined.

Changes:

* Add _Py_FatalErrorFunc() function.
* Remove the function name from the message of Py_FatalError() calls
  which included the function name.
* Update tests.
@vstinner vstinner merged commit 9e5d30c into python:master Mar 6, 2020
@vstinner vstinner deleted the fatal_error_func branch March 6, 2020 23:58
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants