cpython/Objects
Victor Stinner bf4ac2d2fd
bpo-35713: Rework Python initialization (GH-11647)
* The PyByteArray_Init() and PyByteArray_Fini() functions have been
  removed. They did nothing since Python 2.7.4 and Python 3.2.0, were
  excluded from the limited API (stable ABI), and were not
  documented.
* Move "_PyXXX_Init()" and "_PyXXX_Fini()" declarations from
  Include/cpython/pylifecycle.h to
  Include/internal/pycore_pylifecycle.h. Replace
  "PyAPI_FUNC(TYPE)" with "extern TYPE".
* _PyExc_Init() now returns an error on failure rather than calling
  Py_FatalError(). Move macros inside _PyExc_Init() and undefine them
  when done. Rewrite macros to make them look more like statement:
  add ";" when using them, add "do { ... } while (0)".
* _PyUnicode_Init() now returns a _PyInitError error rather than call
  Py_FatalError().
* Move stdin check from _PySys_BeginInit() to init_sys_streams().
* _Py_ReadyTypes() now returns a _PyInitError error rather than
  calling Py_FatalError().
2019-01-22 17:39:03 +01:00
..
clinic bpo-35582: Argument Clinic: Optimize the "all boring objects" case. (GH-11520) 2019-01-11 18:01:42 +02:00
stringlib bpo-35582: Argument Clinic: inline parsing code for positional parameters. (GH-11313) 2019-01-11 16:01:14 +02:00
README
abstract.c bpo-35081: Rename internal headers (GH-10275) 2018-11-12 16:53: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
bytearrayobject.c bpo-35713: Rework Python initialization (GH-11647) 2019-01-22 17:39:03 +01:00
bytes_methods.c closes bpo-34599: Improve performance of _Py_bytes_capitalize(). (GH-9083) 2018-09-06 21:54:49 -07:00
bytesobject.c bpo-35552: Fix reading past the end in PyUnicode_FromFormat() and PyBytes_FromFormat(). (GH-11276) 2019-01-12 10:30:35 +02:00
call.c bpo-33012: Fix invalid function cast warnings with gcc 8. (GH-6749) 2018-11-27 13:27:31 +02:00
capsule.c bpo-35436: Add missing PyErr_NoMemory() calls and other minor bug fixes. (GH-11015) 2018-12-07 12:11:30 +02:00
cellobject.c bpo-33029: Fix signatures of getter and setter functions. (GH-10746) 2018-11-27 19:34:35 +02:00
classobject.c bpo-35444: Unify and optimize the helper for getting a builtin object. (GH-11047) 2018-12-11 08:28:18 +02:00
codeobject.c bpo-35081: Add Include/internal/pycore_tupleobject.h (GH-10705) 2018-11-25 23:56:17 +01:00
complexobject.c bpo-35059: PyObject_INIT() casts to PyObject* (GH-10674) 2018-11-23 14:27:38 +01:00
descrobject.c bpo-35444: Unify and optimize the helper for getting a builtin object. (GH-11047) 2018-12-11 08:28:18 +02: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-35444: Unify and optimize the helper for getting a builtin object. (GH-11047) 2018-12-11 08:28:18 +02:00
enumobject.c bpo-33012: Fix invalid function cast warnings with gcc 8 for METH_NOARGS. (GH-6030) 2018-04-29 21:59:33 +03:00
exceptions.c bpo-35713: Rework Python initialization (GH-11647) 2019-01-22 17:39:03 +01:00
fileobject.c bpo-35214: Add _Py_ prefix to MEMORY_SANITIZER def. (GH-10503) 2018-11-12 22:01:22 -08:00
floatobject.c bpo-35059: PyObject_INIT() casts to PyObject* (GH-10674) 2018-11-23 14:27:38 +01:00
frameobject.c bpo-35504: Fix segfaults and SystemErrors when deleting certain attrs. (GH-11175) 2018-12-17 16:52:45 +02:00
funcobject.c Clarify the behavior of the staticmethod builtin (GH-4362) 2018-12-23 23:47:38 -08:00
genobject.c bpo-33029: Fix signatures of getter and setter functions. (GH-10746) 2018-11-27 19:34:35 +02:00
iterobject.c bpo-35444: Unify and optimize the helper for getting a builtin object. (GH-11047) 2018-12-11 08:28:18 +02:00
listobject.c closes bpo-35623: Fix integer overflow when sorting large lists (GH-11380) 2019-01-01 18:01:54 -08:00
listsort.txt bpo-28685: Optimize sorted() list.sort() with type-specialized comparisons (#582) 2018-01-28 19:03:23 -08:00
lnotab_notes.txt
longobject.c bpo-35059: PyObject_INIT() casts to PyObject* (GH-10674) 2018-11-23 14:27:38 +01:00
memoryobject.c bpo-33029: Fix signatures of getter and setter functions. (GH-10746) 2018-11-27 19:34:35 +02:00
methodobject.c bpo-35444: Unify and optimize the helper for getting a builtin object. (GH-11047) 2018-12-11 08:28:18 +02:00
moduleobject.c bpo-35081: Rename internal headers (GH-10275) 2018-11-12 16:53:38 +01:00
namespaceobject.c bpo-35454: Fix miscellaneous minor issues in error handling. (#11077) 2018-12-11 08:38:03 +02:00
object.c Remove an unused variable after bpo-35444. (GH-11117) 2018-12-11 15:14:12 +02:00
obmalloc.c bpo-35081: Rename internal headers (GH-10275) 2018-11-12 16:53:38 +01:00
odictobject.c bpo-35444: Unify and optimize the helper for getting a builtin object. (GH-11047) 2018-12-11 08:28:18 +02:00
rangeobject.c bpo-35444: Unify and optimize the helper for getting a builtin object. (GH-11047) 2018-12-11 08:28:18 +02:00
setobject.c bpo-35444: Unify and optimize the helper for getting a builtin object. (GH-11047) 2018-12-11 08:28:18 +02:00
sliceobject.c bpo-35081: Add Include/internal/pycore_object.h (GH-10640) 2018-11-21 22:27:47 +01:00
structseq.c Fix compiler warning in structseq_repr() (GH-10841) 2018-12-01 02:46:40 +01:00
tupleobject.c bpo-35444: Unify and optimize the helper for getting a builtin object. (GH-11047) 2018-12-11 08:28:18 +02:00
typeobject.c bpo-34193: Fix pluralization in getargs.c and test cases. (GH-8438) 2018-12-21 16:45:13 +02:00
typeslots.inc
typeslots.py
unicodectype.c
unicodeobject.c bpo-35713: Rework Python initialization (GH-11647) 2019-01-22 17:39:03 +01:00
unicodetype_db.h update to Unicode 11.0.0 (closes bpo-33778) (GH-7439) 2018-06-06 20:14:28 -07:00
weakrefobject.c bpo-35059: Cleanup usage of Python macros (GH-10648) 2018-11-22 03:37:50 +01:00

README

Source files for various builtin objects