cpython/Objects
Victor Stinner 850a4bd839
Restore PyObject_IsInstance() comment (GH-18345)
Restore PyObject_IsInstance() comment explaining why only tuples of
types are accepted, but not general sequence. Comment written by
Guido van Rossum in commit 03290ecbf1
which implements isinstance(x, (A, B, ...)). The comment was lost in
a PyObject_IsInstance() optimization:
commit ec569b7947.

Cleanup also the code. recursive_isinstance() is no longer recursive,
so rename it to object_isinstance(), whereas object_isinstance() is
recursive and so rename it to object_recursive_isinstance().
2020-02-04 13:42:13 +01:00
..
clinic Document CodeType.replace (GH-17776) 2020-01-01 06:11:16 +00:00
stringlib bpo-36051: Fix compiler warning. (GH-18325) 2020-02-03 19:03:34 +09:00
abstract.c Restore PyObject_IsInstance() comment (GH-18345) 2020-02-04 13:42:13 +01:00
accu.c
boolobject.c
bytearrayobject.c bpo-37840: Fix handling of negative indices in bytearray_getitem() (GH-15250) 2019-09-09 09:28:34 -07:00
bytes_methods.c bpo-38383: Fix possible integer overflow in startswith() of bytes and bytearray. (GH-16603) 2019-10-06 15:17:18 +03:00
bytesobject.c bpo-39542: Simplify _Py_NewReference() (GH-18332) 2020-02-03 17:55:04 +01:00
call.c bpo-38644: Add _PyEval_EvalCode() (GH-17183) 2019-11-16 01:03:22 +01:00
capsule.c
cellobject.c
classobject.c bpo-37340: Remove PyMethod_ClearFreeList() and PyCFunction_ClearFreeList() (GH-17284) 2019-11-20 12:59:12 +01:00
codeobject.c bpo-38631: Avoid Py_FatalError() in PyCode_New() (GH-18215) 2020-01-27 23:24:13 +01:00
complexobject.c closes bpo-39415: Remove unused codes from longobject.c complexobject.c floatobject.c. (GH-18105) 2020-01-21 18:49:30 -08:00
descrobject.c bpo-39487: Merge duplicated _Py_IDENTIFIER identifiers in C code (GH-18254) 2020-01-30 15:20:25 -08:00
dict-common.h
dictnotes.txt
dictobject.c bpo-39542: Simplify _Py_NewReference() (GH-18332) 2020-02-03 17:55:04 +01:00
enumobject.c
exceptions.c
fileobject.c bpo-39487: Merge duplicated _Py_IDENTIFIER identifiers in C code (GH-18254) 2020-01-30 15:20:25 -08:00
floatobject.c Fix 5-space indentation and trailing whitespace (GH-18311) 2020-02-02 11:37:02 +00:00
frameobject.c bpo-33387: Fix compiler warning in frame_block_unwind() (GH-18099) 2020-01-21 12:47:29 +01:00
funcobject.c
genobject.c bpo-39386: Prevent double awaiting of async iterator (GH-18081) 2020-01-21 00:49:30 +02:00
interpreteridobject.c bpo-38005: Remove support of string argument in InterpreterID(). (GH-16227) 2019-09-25 18:35:57 +03: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-39489: Remove COUNT_ALLOCS special build (GH-18259) 2020-02-03 15:17:15 +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-39489: Remove COUNT_ALLOCS special build (GH-18259) 2020-02-03 15:17:15 +01:00
memoryobject.c bpo-38631: Avoid Py_FatalError() in _memory_release() (GH-18214) 2020-01-27 22:37:44 +01:00
methodobject.c bpo-37340: Remove PyMethod_ClearFreeList() and PyCFunction_ClearFreeList() (GH-17284) 2019-11-20 12:59:12 +01:00
moduleobject.c bpo-39487: Merge duplicated _Py_IDENTIFIER identifiers in C code (GH-18254) 2020-01-30 15:20:25 -08:00
namespaceobject.c
object.c bpo-39542: Simplify _Py_NewReference() (GH-18332) 2020-02-03 17:55:04 +01:00
obmalloc.c closes bpo-30364: Replace deprecated no_address_safety_analysis attribute. (GH-17702) 2019-12-26 20:51:34 -06:00
odictobject.c bpo-39487: Merge duplicated _Py_IDENTIFIER identifiers in C code (GH-18254) 2020-01-30 15:20:25 -08:00
picklebufobject.c
rangeobject.c bpo-39487: Merge duplicated _Py_IDENTIFIER identifiers in C code (GH-18254) 2020-01-30 15:20:25 -08:00
README
setobject.c bpo-38631: Add _Py_NO_RETURN to functions calling Py_FatalError() (GH-18278) 2020-01-30 13:09:11 +01:00
sliceobject.c Make PyXXX_Fini() functions private (GH-15531) 2019-08-27 00:12:32 +02:00
structseq.c bpo-38650: Constify PyStructSequence_UnnamedField. (GH-17005) 2019-11-16 18:55:29 +02:00
tupleobject.c bpo-39542: Simplify _Py_NewReference() (GH-18332) 2020-02-03 17:55:04 +01:00
typeobject.c bpo-39487: Merge duplicated _Py_IDENTIFIER identifiers in C code (GH-18254) 2020-01-30 15:20:25 -08:00
typeslots.inc
typeslots.py
unicodectype.c
unicodeobject.c bpo-39542: Simplify _Py_NewReference() (GH-18332) 2020-02-03 17:55:04 +01:00
unicodetype_db.h
weakrefobject.c bpo-38395: Fix ownership in weakref.proxy methods (GH-16632) 2019-10-08 16:30:50 +01:00

Source files for various builtin objects