cpython/Objects
Victor Stinner 9e5d30cc99
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.
2020-03-07 00:54:20 +01:00
..
clinic bpo-39573: Update clinic to use Py_IS_TYPE() function (GH-18507) 2020-02-14 08:50:19 +01:00
stringlib bpo-39087: Optimize PyUnicode_AsUTF8AndSize() (GH-18327) 2020-02-27 13:48:59 +09:00
abstract.c bpo-39573: Use Py_IS_TYPE() macro to check for types (GH-18809) 2020-03-06 23:53:17 +01:00
accu.c
boolobject.c
bytearrayobject.c bpo-35081: Move bytes_methods.h to the internal C API (GH-18492) 2020-02-12 22:32:34 +01:00
bytes_methods.c bpo-35081: Move bytes_methods.h to the internal C API (GH-18492) 2020-02-12 22:32:34 +01:00
bytesobject.c bpo-35081: Move bytes_methods.h to the internal C API (GH-18492) 2020-02-12 22:32:34 +01:00
call.c bpo-39245: Switch to public API for Vectorcall (GH-18460) 2020-02-11 17:46:57 +01:00
capsule.c
cellobject.c
classobject.c bpo-36347: stop using RESTRICTED constants (GH-12684) 2020-02-18 05:14:46 -08:00
codeobject.c
complexobject.c
descrobject.c bpo-39573: Finish converting to new Py_IS_TYPE() macro (GH-18601) 2020-03-04 14:15:20 +01:00
dict-common.h
dictnotes.txt
dictobject.c bpo-36144: Dictionary Union (PEP 584) (#12088) 2020-02-24 19:47:34 -08:00
enumobject.c
exceptions.c bpo-39573: Finish converting to new Py_IS_TYPE() macro (GH-18601) 2020-03-04 14:15:20 +01:00
fileobject.c bpo-39245: Switch to public API for Vectorcall (GH-18460) 2020-02-11 17:46:57 +01:00
floatobject.c bpo-35081: Move dtoa.h header to the internal C API (GH-18489) 2020-02-12 22:54:42 +01:00
frameobject.c closes bpo-39630: Update pointers to string literals to be const char *. (GH-18510) 2020-02-13 20:42:56 -08:00
funcobject.c bpo-36347: stop using RESTRICTED constants (GH-12684) 2020-02-18 05:14:46 -08:00
genobject.c bpo-39573: Finish converting to new Py_IS_TYPE() macro (GH-18601) 2020-03-04 14:15:20 +01:00
interpreteridobject.c
iterobject.c
listobject.c bpo-39573: Finish converting to new Py_IS_TYPE() macro (GH-18601) 2020-03-04 14:15:20 +01:00
listsort.txt
lnotab_notes.txt
longobject.c bpo-39245: Switch to public API for Vectorcall (GH-18460) 2020-02-11 17:46:57 +01:00
memoryobject.c Give proper credits for the memoryview implementation. (#18626) 2020-02-24 11:15:26 +01:00
methodobject.c bpo-36347: stop using RESTRICTED constants (GH-12684) 2020-02-18 05:14:46 -08:00
moduleobject.c bpo-39245: Switch to public API for Vectorcall (GH-18460) 2020-02-11 17:46:57 +01:00
namespaceobject.c bpo-39573: Finish converting to new Py_IS_TYPE() macro (GH-18601) 2020-03-04 14:15:20 +01:00
object.c bpo-39573: Use Py_IS_TYPE() macro to check for types (GH-18809) 2020-03-06 23:53:17 +01:00
obmalloc.c bpo-39882: Py_FatalError() logs the function name (GH-18819) 2020-03-07 00:54:20 +01:00
odictobject.c bpo-39778: Don't traverse weak-reference lists OrderedDict's tp_traverse and tp_clear (GH-18749) 2020-03-02 23:12:54 +00:00
picklebufobject.c
rangeobject.c bpo-37207: Use vectorcall for range() (GH-18464) 2020-02-18 07:13:17 -08:00
README
setobject.c bpo-39573: Use Py_IS_TYPE() macro to check for types (GH-18809) 2020-03-06 23:53:17 +01:00
sliceobject.c
structseq.c
tupleobject.c bpo-39573: Use Py_IS_TYPE() macro to check for types (GH-18809) 2020-03-06 23:53:17 +01:00
typeobject.c bpo-39573: Use Py_IS_TYPE() macro to check for types (GH-18809) 2020-03-06 23:53:17 +01:00
typeslots.inc
typeslots.py
unicodectype.c
unicodeobject.c bpo-39573: Finish converting to new Py_IS_TYPE() macro (GH-18601) 2020-03-04 14:15:20 +01:00
unicodetype_db.h
weakrefobject.c bpo-39245: Switch to public API for Vectorcall (GH-18460) 2020-02-11 17:46:57 +01:00

Source files for various builtin objects