cpython/Objects
Serhiy Storchaka 8ecb8962e3
gh-121288: Make error message for index() methods consistent (GH-121395)
Make error message for index() methods consistent

Remove the repr of the searched value (which can be arbitrary large)
from ValueError messages for list.index(), range.index(), deque.index(),
deque.remove() and ShareableList.index().  Make the error messages
consistent with error messages for other index() and remove()
methods.
2024-07-05 10:50:45 -07:00
..
clinic
mimalloc Fix typos in comments (#120821) 2024-06-24 19:47:00 +02:00
stringlib gh-121040: Use __attribute__((fallthrough)) (#121044) 2024-06-27 09:58:44 +00:00
abstract.c
boolobject.c
bytearrayobject.c
bytes_methods.c gh-121165: protect macro expansion of ADJUST_INDICES with do-while(0) (#121166) 2024-07-02 16:27:51 +05:30
bytesobject.c
call.c
capsule.c
cellobject.c
classobject.c
codeobject.c Fix typos in comments (#120821) 2024-06-24 19:47:00 +02:00
complexobject.c gh-119372: Recover inf's and zeros in _Py_c_quot (GH-119457) 2024-06-29 11:00:48 +03:00
descrobject.c
dictnotes.txt
dictobject.c gh-117657: Fix data races reported by TSAN in some set methods (#120914) 2024-07-01 15:11:39 -04:00
enumobject.c
exceptions.c gh-119521: Rename IncompleteInputError to _IncompleteInputError and remove from public API/ABI (GH-119680) 2024-06-24 14:08:12 +02:00
fileobject.c
floatobject.c
frameobject.c gh-117139: Convert the evaluation stack to stack refs (#118450) 2024-06-27 03:10:43 +08:00
funcobject.c
genericaliasobject.c gh-119182: Use public PyUnicodeWriter API in ga_repr() (#120799) 2024-06-20 20:35:35 +02:00
genobject.c gh-117139: Convert the evaluation stack to stack refs (#118450) 2024-06-27 03:10:43 +08:00
iterobject.c
listobject.c gh-121288: Make error message for index() methods consistent (GH-121395) 2024-07-05 10:50:45 -07:00
listsort.txt
lnotab_notes.txt
longobject.c gh-121115: Skip __index__ in PyLong_AsNativeBytes by default (GH-121118) 2024-06-28 16:26:21 +01:00
memoryobject.c
methodobject.c
moduleobject.c
namespaceobject.c
object.c gh-120686: remove unused internal c api functions (#120687) 2024-06-27 11:09:30 +01:00
object_layout.md
object_layout_312.gv
object_layout_312.png
object_layout_313.gv
object_layout_313.png
object_layout_full_312.gv
object_layout_full_312.png
object_layout_full_313.gv
object_layout_full_313.png
obmalloc.c Fix typos in comments (#120821) 2024-06-24 19:47:00 +02:00
odictobject.c
picklebufobject.c
rangeobject.c gh-121288: Make error message for index() methods consistent (GH-121395) 2024-07-05 10:50:45 -07:00
README
setobject.c gh-117657: Fix data races reported by TSAN in some set methods (#120914) 2024-07-01 15:11:39 -04:00
sliceobject.c
structseq.c
tupleobject.c gh-117139: Add _PyTuple_FromStackRefSteal and use it (#121244) 2024-07-02 12:30:14 -04:00
typeobject.c updated tp_flags initialization to use inplace or (#120625) 2024-07-03 13:21:25 +05:30
typeslots.inc
typeslots.py
typevarobject.c
unicodectype.c
unicodeobject.c gh-121165: protect macro expansion of ADJUST_INDICES with do-while(0) (#121166) 2024-07-02 16:27:51 +05:30
unicodetype_db.h
unionobject.c Fixes loop variables to be the same types as their limit (GH-120958) 2024-06-24 17:11:47 +01:00
weakrefobject.c gh-118789: Add PyUnstable_Object_ClearWeakRefsNoCallbacks (#118807) 2024-06-18 09:57:23 -04:00

Source files for various builtin objects