dict.update()
mutation check too broad
#132617
Labels
3.13
bugs and security fixes
3.14
bugs and security fixes
interpreter-core
(Objects, Python, Grammar, and Parser dirs)
type-bug
An unexpected behavior, bug, or error
Uh oh!
There was an error while loading. Please reload this page.
Bug report
The
dict.update()
modification check can be erroneously triggered by modifications to different dictionaries that happen to share the underlying keys objects.For example, in the following program, the creation and modification of the
f2
object can lead to an incorrectRuntimeError
raised in the main thread that operates on distinct dictionaries.Linked PRs
dict.update()
mutation check #134815The text was updated successfully, but these errors were encountered: