cpython/Objects
Victor Stinner 331a6a56e9
bpo-36763: Implement the PEP 587 (GH-13592)
* Add a whole new documentation page:
  "Python Initialization Configuration"
* PyWideStringList_Append() return type is now PyStatus,
  instead of int
* PyInterpreterState_New() now calls PyConfig_Clear() if
  PyConfig_InitPythonConfig() fails.
* Rename files:

  * Python/coreconfig.c => Python/initconfig.c
  * Include/cpython/coreconfig.h => Include/cpython/initconfig.h
  * Include/internal/: pycore_coreconfig.h => pycore_initconfig.h

* Rename structures

  * _PyCoreConfig => PyConfig
  * _PyPreConfig => PyPreConfig
  * _PyInitError => PyStatus
  * _PyWstrList => PyWideStringList

* Rename PyConfig fields:

  * use_module_search_paths => module_search_paths_set
  * module_search_path_env => pythonpath_env

* Rename PyStatus field: _func => func
* PyInterpreterState: rename core_config field to config
* Rename macros and functions:

  * _PyCoreConfig_SetArgv() => PyConfig_SetBytesArgv()
  * _PyCoreConfig_SetWideArgv() => PyConfig_SetArgv()
  * _PyCoreConfig_DecodeLocale() => PyConfig_SetBytesString()
  * _PyInitError_Failed() => PyStatus_Exception()
  * _Py_INIT_ERROR_TYPE_xxx enums => _PyStatus_TYPE_xxx
  * _Py_UnixMain() => Py_BytesMain()
  * _Py_ExitInitError() => Py_ExitStatusException()
  * _Py_PreInitializeFromArgs() => Py_PreInitializeFromBytesArgs()
  * _Py_PreInitializeFromWideArgs() => Py_PreInitializeFromArgs()
  * _Py_PreInitialize() => Py_PreInitialize()
  * _Py_RunMain() => Py_RunMain()
  * _Py_InitializeFromConfig() => Py_InitializeFromConfig()
  * _Py_INIT_XXX() => _PyStatus_XXX()
  * _Py_INIT_FAILED() => _PyStatus_EXCEPTION()

* Rename 'err' PyStatus variables to 'status'
* Convert RUN_CODE() macro to config_run_code() static inline function
* Remove functions:

  * _Py_InitializeFromArgs()
  * _Py_InitializeFromWideArgs()
  * _PyInterpreterState_GetCoreConfig()
2019-05-27 16:39:22 +02:00
..
clinic bpo-37032: Add CodeType.replace() method (GH-13542) 2019-05-24 23:57:23 +02:00
stringlib Fix couple of dead code paths (GH-7418) 2019-05-17 19:46:22 -04:00
README
abstract.c bpo-36048: Use __index__() instead of __int__() for implicit conversion if available. (GH-11952) 2019-02-25 17:57:58 +02:00
accu.c
boolobject.c bpo-36793: Remove unneeded __str__ definitions. (GH-13081) 2019-05-06 22:29:40 +03:00
bytearrayobject.c bpo-36763: Implement the PEP 587 (GH-13592) 2019-05-27 16:39:22 +02:00
bytes_methods.c
bytesobject.c bpo-36763: Implement the PEP 587 (GH-13592) 2019-05-27 16:39:22 +02:00
call.c bpo-37017: PyObject_CallMethodObjArgs uses LOAD_METHOD optimization (GH-13516) 2019-05-26 16:23:33 +09: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-35911: add cell constructor (GH-11771) 2019-02-07 19:36:48 +00:00
classobject.c closes bpo-36188: Clean up 'unbound' method left-overs. (GH-12169) 2019-03-04 21:19:34 -08:00
codeobject.c bpo-37032: Add CodeType.replace() method (GH-13542) 2019-05-24 23:57:23 +02:00
complexobject.c bpo-36793: Remove unneeded __str__ definitions. (GH-13081) 2019-05-06 22:29:40 +03:00
descrobject.c bpo-36842: Implement PEP 578 (GH-12613) 2019-05-23 08:45:22 -07:00
dict-common.h
dictnotes.txt
dictobject.c bpo-35983: skip trashcan for subclasses (GH-11841) 2019-05-10 19:21:10 +02:00
enumobject.c
exceptions.c bpo-36763: Implement the PEP 587 (GH-13592) 2019-05-27 16:39:22 +02:00
fileobject.c bpo-36842: Implement PEP 578 (GH-12613) 2019-05-23 08:45:22 -07:00
floatobject.c bpo-36957: Add _PyLong_Rshift() and _PyLong_Lshift(). (GH-13416) 2019-05-19 14:14:38 +03:00
frameobject.c bpo-35459: Use PyDict_GetItemWithError() instead of PyDict_GetItem(). (GH-11112) 2019-02-25 17:59:46 +02:00
funcobject.c bpo-36842: Implement PEP 578 (GH-12613) 2019-05-23 08:45:22 -07:00
genobject.c bpo-33029: Fix signatures of getter and setter functions. (GH-10746) 2018-11-27 19:34:35 +02:00
interpreteridobject.c bpo-36097: Use only public C-API in the_xxsubinterpreters module (adding as necessary). (gh-12359) 2019-03-15 16:35:46 -06: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 bpo-36763: Implement the PEP 587 (GH-13592) 2019-05-27 16:39:22 +02:00
listsort.txt
lnotab_notes.txt
longobject.c bpo-36957: Add _PyLong_Rshift() and _PyLong_Lshift(). (GH-13416) 2019-05-19 14:14:38 +03:00
memoryobject.c bpo-33012: Fix compilation warnings in memoryobject.c and _collectionsmodule.c (GH-12179) 2019-03-05 16:10:53 +01: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-36763: Implement the PEP 587 (GH-13592) 2019-05-27 16:39:22 +02:00
namespaceobject.c bpo-35459: Use PyDict_GetItemWithError() instead of PyDict_GetItem(). (GH-11112) 2019-02-25 17:59:46 +02:00
object.c bpo-36763: Implement the PEP 587 (GH-13592) 2019-05-27 16:39:22 +02:00
obmalloc.c bpo-36763: Add PyMemAllocatorName (GH-13387) 2019-05-17 15:20:52 +02:00
odictobject.c bpo-35983: skip trashcan for subclasses (GH-11841) 2019-05-10 19:21:10 +02:00
picklebufobject.c bpo-36785: PEP 574 implementation (GH-7076) 2019-05-26 17:10:09 +02:00
rangeobject.c bpo:34848 : Correct an incorrect docstring for range().index method (GH-9877) 2019-05-03 08:22:11 -04:00
setobject.c bpo-35983: skip trashcan for subclasses (GH-11841) 2019-05-10 19:21:10 +02:00
sliceobject.c bpo-35961: Fix a crash in slice_richcompare() (GH-11830) 2019-02-13 12:31:56 +01:00
structseq.c bpo-35810: Incref heap-allocated types in PyObject_Init (GH-11661) 2019-03-27 12:52:18 +01:00
tupleobject.c bpo-36763: Implement the PEP 587 (GH-13592) 2019-05-27 16:39:22 +02:00
typeobject.c bpo-28866: No type cache for types with specialized mro, invalidation is hard. (#13157) 2019-05-26 15:25:47 +01:00
typeslots.inc
typeslots.py
unicodectype.c
unicodeobject.c bpo-36763: Implement the PEP 587 (GH-13592) 2019-05-27 16:39:22 +02:00
unicodetype_db.h closes bpo-36861: Update Unicode database to 12.1.0. (GH-13214) 2019-05-08 20:59:35 -07:00
weakrefobject.c bpo-36669: add matmul support to weakref.proxy (GH-12932) 2019-04-26 15:56:15 +09:00

README

Source files for various builtin objects