1
0
mirror of https://github.com/python/cpython synced 2024-07-03 09:04:13 +00:00
cpython/Objects
Sam Gross 375b723d58
gh-120858: PyDict_Next should not lock the dict (#120859)
PyDict_Next no longer locks the dictionary in the free-threaded build. Locking
around individual PyDict_Next calls is not sufficient because the function
returns borrowed references and because it allows concurrent modifications
during the iteraiton loop.

The internal locking also interferes with correct external synchronization
because it may suspend outer critical sections created by the caller.
2024-06-24 14:15:15 -04:00
..
clinic gh-120080: Accept `None as a valid argument for direct call of the int.__round__` (#120088) 2024-06-07 10:03:28 +02:00
mimalloc Fix typos in comments (#120821) 2024-06-24 19:47:00 +02:00
stringlib gh-120196: Reuse find_max_char() for bytes objects (#120497) 2024-06-17 12:21:58 +02:00
abstract.c gh-119740: Remove deprecated trunc delegation (#119743) 2024-06-02 10:16:49 +01:00
boolobject.c
bytearrayobject.c
bytes_methods.c gh-120196: Reuse find_max_char() for bytes objects (#120497) 2024-06-17 12:21:58 +02:00
bytesobject.c gh-117557: Improve error messages when a string, bytes or bytearray of length 1 are expected (GH-117631) 2024-05-28 12:01:37 +03:00
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 Fix typos in comments (#120821) 2024-06-24 19:47:00 +02:00
descrobject.c bpo-24766: doc= argument to subclasses of property not handled correctly (GH-2487) 2024-06-10 08:55:49 +00:00
dictnotes.txt
dictobject.c gh-120858: PyDict_Next should not lock the dict (#120859) 2024-06-24 14:15:15 -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 gh-119057: Use better error messages for zero division (#119066) 2024-06-03 19:03:56 +03:00
frame_layout.md
frameobject.c gh-120834: fix type of *_iframe field in _PyGenObject_HEAD declaration (#120835) 2024-06-24 10:23:38 +01:00
funcobject.c gh-119180: Lazily wrap annotations on classmethod and staticmethod (#119864) 2024-05-31 14:05:51 -07:00
genericaliasobject.c gh-119182: Use public PyUnicodeWriter API in ga_repr() (#120799) 2024-06-20 20:35:35 +02:00
genobject.c gh-120834: fix over-allocation in PyGenObject, PyCoroObject, PyAsyncGenObject. (#120941) 2024-06-24 18:41:53 +01:00
iterobject.c
listobject.c Fix typos in comments (#120821) 2024-06-24 19:47:00 +02:00
listsort.txt
lnotab_notes.txt
longobject.c gh-120080: Accept `None as a valid argument for direct call of the int.__round__` (#120088) 2024-06-07 10:03:28 +02:00
memoryobject.c gh-120155: Fix copy/paste error in HAVE_SUBOFFSETS_IN_LAST_DIM() (#120228) 2024-06-07 17:58:21 +02:00
methodobject.c
moduleobject.c gh-119180: PEP 649: Add __annotate__ attributes (#119209) 2024-05-22 04:38:12 +02:00
namespaceobject.c
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
object_layout.md
object.c gh-113993: Allow interned strings to be mortal, and fix related issues (GH-120520) 2024-06-21 17:19:31 +02:00
obmalloc.c Fix typos in comments (#120821) 2024-06-24 19:47:00 +02:00
odictobject.c Remove almost all unpaired backticks in docstrings (#119231) 2024-05-22 12:35:18 -04:00
picklebufobject.c
rangeobject.c
README
setobject.c
sliceobject.c
structseq.c gh-117398: Use Per-Interpreter State for the _datetime Static Types (gh-119929) 2024-06-03 17:09:18 -06:00
tupleobject.c
typeobject.c gh-120860: Fix a few bugs in type_setattro error paths. (#120861) 2024-06-24 14:08:23 -04:00
typeslots.inc
typeslots.py
typevarobject.c Rename notimplemented_methods into nodefault_methods (#118896) 2024-05-10 12:46:20 +00:00
unicodectype.c
unicodeobject.c Fix typos in comments (#120821) 2024-06-24 19:47:00 +02:00
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