cpython/Objects
Victor Stinner 04fc4f2a46
bpo-40989: PyObject_INIT() becomes an alias to PyObject_Init() (GH-20901)
The PyObject_INIT() and PyObject_INIT_VAR() macros become aliases to,
respectively, PyObject_Init() and PyObject_InitVar() functions.

Rename _PyObject_INIT() and _PyObject_INIT_VAR() static inline
functions to, respectively, _PyObject_Init() and _PyObject_InitVar(),
and move them to pycore_object.h. Remove their return value:
their return type becomes void.

The _datetime module is now built with the Py_BUILD_CORE_MODULE macro
defined.

Remove an outdated comment on _Py_tracemalloc_config.
2020-06-16 01:28:07 +02:00
..
clinic bpo-29882: Add an efficient popcount method for integers (#771) 2020-05-29 17:28:02 +01:00
stringlib bpo-29882: Add _Py_popcount32() function (GH-20518) 2020-06-08 16:30:33 +02:00
README
abstract.c bpo-40792: Make the result of PyNumber_Index() always having exact type int. (GH-20443) 2020-05-28 10:33:45 +03: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-39939: Add str.removeprefix and str.removesuffix (GH-18939) 2020-04-22 23:05:48 +02:00
bytes_methods.c bpo-40170: Add _PyIndex_Check() internal function (GH-19426) 2020-04-08 02:01:56 +02:00
bytesobject.c bpo-40989: PyObject_INIT() becomes an alias to PyObject_Init() (GH-20901) 2020-06-16 01:28:07 +02:00
call.c bpo-40268: Remove a few pycore_pystate.h includes (GH-19510) 2020-04-14 17:52:15 +02:00
capsule.c bpo-40170: PyObject_NEW() becomes an alias to PyObject_New() (GH-19379) 2020-04-08 00:38:15 +02:00
cellobject.c bpo-40268: Remove unused pycore_pymem.h includes (GH-19531) 2020-04-15 02:57:50 +02:00
classobject.c bpo-40268: Remove unused pycore_pymem.h includes (GH-19531) 2020-04-15 02:57:50 +02:00
codeobject.c Restrict co_code to be under INT_MAX in codeobject (GH-20628) 2020-06-11 00:31:22 +01:00
complexobject.c bpo-40989: PyObject_INIT() becomes an alias to PyObject_Init() (GH-20901) 2020-06-16 01:28:07 +02:00
descrobject.c Remove spurious NULL in descrobject.c (GH-20344) 2020-05-24 06:03:50 +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
dictobject.c bpo-40890: Fix compiler warning in dictobject.c (GH-20876) 2020-06-15 02:05:20 +01:00
enumobject.c bpo-39481: PEP 585 for enumerate, AsyncGeneratorType, mmap (GH-19421) 2020-04-09 21:25:53 -07:00
exceptions.c bpo-29587: _PyErr_ChainExceptions() checks exception (GH-19902) 2020-05-05 17:07:41 +02:00
fileobject.c bpo-40268: Remove a few pycore_pystate.h includes (GH-19510) 2020-04-14 17:52:15 +02:00
floatobject.c bpo-40989: PyObject_INIT() becomes an alias to PyObject_Init() (GH-20901) 2020-06-16 01:28:07 +02:00
frameobject.c Restrict co_code to be under INT_MAX in codeobject (GH-20628) 2020-06-11 00:31:22 +01:00
funcobject.c bpo-40268: Remove unused pycore_pymem.h includes (GH-19531) 2020-04-15 02:57:50 +02:00
genericaliasobject.c bpo-39573: Use Py_IS_TYPE to check for types (GH-19882) 2020-05-04 22:31:38 +09:00
genobject.c bpo-40887: Don't use finalized free lists (GH-20700) 2020-06-08 02:14:47 +02:00
interpreteridobject.c bpo-40302: Replace PY_INT64_T with int64_t (GH-19573) 2020-04-17 19:13:06 +02:00
iterobject.c bpo-40268: Remove unused pycore_pymem.h includes (GH-19531) 2020-04-15 02:57:50 +02:00
listobject.c bpo-40887: Don't use finalized free lists (GH-20700) 2020-06-08 02:14:47 +02: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-40989: PyObject_INIT() becomes an alias to PyObject_Init() (GH-20901) 2020-06-16 01:28:07 +02:00
memoryobject.c bpo-40792: Make the result of PyNumber_Index() always having exact type int. (GH-20443) 2020-05-28 10:33:45 +03:00
methodobject.c bpo-38787: C API for module state access from extension methods (PEP 573) (GH-19936) 2020-05-07 15:39:59 +02:00
moduleobject.c bpo-40268: Remove unused structmember.h includes (GH-19530) 2020-04-15 02:35:41 +02:00
namespaceobject.c bpo-39075: types.SimpleNamespace no longer sorts attributes in its repr (GH-19430) 2020-05-15 18:27:54 -07:00
object.c bpo-40989: PyObject_INIT() becomes an alias to PyObject_Init() (GH-20901) 2020-06-16 01:28:07 +02:00
obmalloc.c bpo-40943: Replace PY_FORMAT_SIZE_T with "z" (GH-20781) 2020-06-10 18:38:05 +02:00
odictobject.c bpo-40268: Remove unused structmember.h includes (GH-19530) 2020-04-15 02:35:41 +02:00
picklebufobject.c bpo-36785: PEP 574 implementation (GH-7076) 2019-05-26 17:10:09 +02:00
rangeobject.c bpo-40268: Remove unused structmember.h includes (GH-19530) 2020-04-15 02:35:41 +02:00
setobject.c Improve code clarity for the set lookup logic (GH-20028) 2020-05-10 14:53:29 -07:00
sliceobject.c bpo-40521: Make slice cache per-interpreter (GH-20637) 2020-06-05 01:14:40 +02:00
structseq.c bpo-40217: Ensure Py_VISIT(Py_TYPE(self)) is always called for PyType_FromSpec types (reverts GH-19414) (GH-20264) 2020-05-27 02:03:38 -07:00
tupleobject.c bpo-40989: PyObject_INIT() becomes an alias to PyObject_Init() (GH-20901) 2020-06-16 01:28:07 +02:00
typeobject.c bpo-40989: PyObject_INIT() becomes an alias to PyObject_Init() (GH-20901) 2020-06-16 01:28:07 +02:00
typeslots.inc bpo-40724: Support setting buffer slots from type specs (GH-20648) 2020-06-06 21:35:10 +02:00
typeslots.py
unicodectype.c
unicodeobject.c bpo-40989: PyObject_INIT() becomes an alias to PyObject_Init() (GH-20901) 2020-06-16 01:28:07 +02: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-40523: Add pass-throughs for hash() and reversed() to weakref.proxy objects (GH-19946) 2020-05-05 22:58:19 +01:00

README

Source files for various builtin objects