FazBrowse GitHub Viewer | Trending |
URL:
| Home
Tools: [Download Repo ZIP]   [Original HTTPS Page]

bpo-39882: Py_FatalError() logs the function name by vstinner · Pull Request #18819 · python/cpython · GitHub

/ cpython Public

bpo-39882: Py_FatalError() logs the function name - #18819

Merged
vstinner merged 3 commits into
python:masterfrom
vstinner:fatal_error_func
Mar 6, 2020
Merged

bpo-39882: Py_FatalError() logs the function name#18819
vstinner merged 3 commits into
python:masterfrom
vstinner:fatal_error_func

Conversation

vstinner commented Mar 6, 2020
edited by bedevere-bot
Loading

Copy link
Copy Markdown
Member

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 merged commit 9e5d30c into python:master Mar 6, 2020
vstinner deleted the fatal_error_func branch March 6, 2020 23:58
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode characters
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


Back | FazBrowse Home | New Git URL