cpython/Objects
Ivan Levkivskyi ac28147e78
bpo-35992: Use PySequence_GetItem only if sq_item is not NULL (GH-11857)
Not using `__class_getitem__()` fallback if there is a non-subcriptable metaclass was caused by a certain asymmetry between how `PySequenceMethods` and `PyMappingMethods` are used in `PyObject_GetItem`. This PR removes this asymmetry. No tests failed, so I assume it was not intentional.
2019-02-17 23:13:46 +00: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 Issue #18093: Factor out the programs that embed the runtime 2014-07-25 21:52:14 +10:00
abstract.c bpo-35992: Use PySequence_GetItem only if sq_item is not NULL (GH-11857) 2019-02-17 23:13:46 +00: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-30592: Fixed error messages for some builtins. (#1996) 2017-06-08 14:41:19 +03:00
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-35911: add cell constructor (GH-11771) 2019-02-07 19:36:48 +00: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 Issue #15055: update dictnotes.txt. Patch by Mark Shannon. 2012-06-24 21:03:45 +02:00
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-35224: PEP 572 Implementation (#10497) 2019-01-24 16:49:56 -07:00
fileobject.c bpo-35713: Split _Py_InitializeCore into subfunctions (GH-11650) 2019-01-22 21:18:05 +01:00
floatobject.c bpo-35713: Split _Py_InitializeCore into subfunctions (GH-11650) 2019-01-22 21:18:05 +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 bpo-28810: Update lnotab_notes.txt (#665) 2017-03-14 21:42:09 +02:00
longobject.c bpo-35713: Split _Py_InitializeCore into subfunctions (GH-11650) 2019-01-22 21:18:05 +01:00
memoryobject.c bpo-35845: Add order={'C', 'F', 'A'} parameter to memoryview.tobytes(). (#11730) 2019-02-02 18:57:41 +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-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 bpo-35713: Reorganize sys module initialization (GH-11658) 2019-01-23 15:04:40 +01: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-35961: Fix a crash in slice_richcompare() (GH-11830) 2019-02-13 12:31:56 +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 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 bpo-35713: Split _Py_InitializeCore into subfunctions (GH-11650) 2019-01-22 21:18:05 +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