cpython/Objects
Victor Stinner 5b1ef200d3
bpo-39824: module_traverse() don't call m_traverse if md_state=NULL (GH-18738)
Extension modules: m_traverse, m_clear and m_free functions of
PyModuleDef are no longer called if the module state was requested
but is not allocated yet. This is the case immediately after the
module is created and before the module is executed (Py_mod_exec
function). More precisely, these functions are not called if m_size is
greater than 0 and the module state (as returned by
PyModule_GetState()) is NULL.

Extension modules without module state (m_size <= 0) are not affected.

Co-Authored-By: Petr Viktorin <encukou@gmail.com>
2020-03-17 18:09:46 +01:00
..
clinic bpo-39573: Update clinic to use Py_IS_TYPE() function (GH-18507) 2020-02-14 08:50:19 +01:00
stringlib Update some www.unicode.org URLs to use HTTPS. (GH-18912) 2020-03-10 21:10:59 -07:00
README Issue #18093: Factor out the programs that embed the runtime 2014-07-25 21:52:14 +10:00
abstract.c bpo-39947: Move Py_EnterRecursiveCall() to internal C API (GH-18972) 2020-03-13 10:19:38 +01:00
accu.c bpo-35081: Move accu.h to Include/internal/pycore_accu.h (GH-10271) 2018-11-01 02:30:36 +01:00
boolobject.c bpo-36974: tp_print -> tp_vectorcall_offset and tp_reserved -> tp_as_async (GH-13464) 2019-05-30 19:13:39 -07:00
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 bpo-36974: tp_print -> tp_vectorcall_offset and tp_reserved -> tp_as_async (GH-13464) 2019-05-30 19:13:39 -07:00
cellobject.c bpo-39573: Use Py_TYPE() macro in Objects directory (GH-18392) 2020-02-07 03:04:21 +01:00
classobject.c bpo-36347: stop using RESTRICTED constants (GH-12684) 2020-02-18 05:14:46 -08:00
codeobject.c bpo-39573: Use Py_TYPE() macro in Objects directory (GH-18392) 2020-02-07 03:04:21 +01:00
complexobject.c bpo-39573: Use Py_TYPE() macro in Objects directory (GH-18392) 2020-02-07 03:04:21 +01:00
descrobject.c bpo-39947: Move Py_EnterRecursiveCall() to internal C API (GH-18972) 2020-03-13 10:19:38 +01:00
dict-common.h bpo-33312: Fix clang ubsan out of bounds warnings in dict. (GH-6537) 2018-04-19 22:41:19 -07:00
dictnotes.txt Issue #15055: update dictnotes.txt. Patch by Mark Shannon. 2012-06-24 21:03:45 +02:00
dictobject.c bpo-36144: Dictionary Union (PEP 584) (#12088) 2020-02-24 19:47:34 -08:00
enumobject.c bpo-39573: Use Py_REFCNT() macro (GH-18388) 2020-02-07 00:38:59 +01:00
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 bpo-39573: Use Py_TYPE() macro in Objects directory (GH-18392) 2020-02-07 03:04:21 +01:00
iterobject.c bpo-39487: Merge duplicated _Py_IDENTIFIER identifiers in C code (GH-18254) 2020-01-30 15:20:25 -08:00
listobject.c bpo-39573: Finish converting to new Py_IS_TYPE() macro (GH-18601) 2020-03-04 14:15:20 +01:00
listsort.txt Fixes in sorting descriptions (GH-18317) 2020-02-03 08:47:20 -08:00
lnotab_notes.txt bpo-38115: Deal with invalid bytecode offsets in lnotab (GH-16079) 2019-09-28 07:49:15 -07:00
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-39947: Move Py_EnterRecursiveCall() to internal C API (GH-18972) 2020-03-13 10:19:38 +01:00
moduleobject.c bpo-39824: module_traverse() don't call m_traverse if md_state=NULL (GH-18738) 2020-03-17 18:09:46 +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-39947: Hide implementation detail of trashcan macros (GH-18971) 2020-03-13 16:51:52 +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-36144: OrderedDict Union (PEP 584) (#18967) 2020-03-13 09:06:04 -07:00
picklebufobject.c bpo-36785: PEP 574 implementation (GH-7076) 2019-05-26 17:10:09 +02:00
rangeobject.c bpo-37207: Add _PyArg_NoKwnames() helper function (GH-18980) 2020-03-16 15:06:20 +01:00
setobject.c bpo-37207: Use PEP 590 vectorcall to speed up set() constructor (GH-19019) 2020-03-16 18:17:38 +01:00
sliceobject.c Make PyXXX_Fini() functions private (GH-15531) 2019-08-27 00:12:32 +02:00
structseq.c bpo-39573: Use Py_SET_SIZE() function (GH-18402) 2020-02-07 23:18:08 +01:00
tupleobject.c bpo-37207: Add _PyArg_NoKwnames() helper function (GH-18980) 2020-03-16 15:06:20 +01:00
typeobject.c bpo-39904: Move handling of one-argument call of type() from type.__new__() to type.__call__(). (GH-18852) 2020-03-09 19:59:03 +02:00
typeslots.inc add Py_tp_finalize slot (closes #24345) 2015-06-01 10:12:48 -05:00
typeslots.py Issue #26662: Set PYTHON_FOR_GEN in configure 2016-07-26 12:48:08 +02:00
unicodectype.c Removed unintentional trailing spaces in non-external and non-generated C files. 2015-03-18 21:53:15 +02:00
unicodeobject.c Revert "bpo-39087: Add _PyUnicode_GetUTF8Buffer()" (GH-18985) 2020-03-14 15:59:27 +09:00
unicodetype_db.h closes bpo-39926: Update Unicode to 13.0.0. (GH-18910) 2020-03-10 20:41:34 -07:00
weakrefobject.c bpo-39245: Switch to public API for Vectorcall (GH-18460) 2020-02-11 17:46:57 +01:00

README

Source files for various builtin objects