You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
For example, in the following program, the creation and modification of the f2 object can lead to an incorrect RuntimeError raised in the main thread that operates on distinct dictionaries.
Traceback (most recent call last):
File "/home/sgross/cpython/bad.py", line 44, in <module>
main()
~~~~^^
File "/home/sgross/cpython/bad.py", line 39, in main
x.update(f1.__dict__)
~~~~~~~~^^^^^^^^^^^^^
RuntimeError: dict mutated during update
Activity
pythongh-132617: Fix `dict.update() ` mutation check
gh-132617: Fix `dict.update()` mutation check (gh-134815)
pythongh-132617: Fix `dict.update()` mutation check (pythongh-134815)
[3.13] pythongh-132617: Fix `dict.update()` mutation check (pythongh-…
[3.14] gh-132617: Fix `dict.update()` mutation check (gh-134815) (gh-…
[3.13] gh-132617: Fix `dict.update()` mutation check (gh-134815) (gh-…
pythongh-132617: Fix `dict.update()` mutation check (pythongh-134815)
pythongh-132617: Fix `dict.update()` mutation check (pythongh-134815)
pythongh-132617: Fix `dict.update()` mutation check (pythongh-134815)
pythongh-132617: Fix `dict.update()` mutation check (pythongh-134815)