commit | 9e5d30cc99e34f4c3e7b2cd851de20816c9d1927 | [log] [tgz] |
---|---|---|
author | Victor Stinner <vstinner@python.org> | Sat Mar 07 00:54:20 2020 +0100 |
committer | GitHub <noreply@github.com> | Sat Mar 07 00:54:20 2020 +0100 |
tree | 71e726c4695b9b3b0a31d7d2516ce8ee83b52721 | |
parent | 7b3c252dc7f44d4bdc4c7c82d225ebd09c78f520 [diff] |
bpo-39882: Py_FatalError() logs the function name (GH-18819) 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.