The JIT optimizer doesn't know about _BINARY_OP_INPLACE_ADD_UNICODE
's store
#125912
Labels
3.13
bugs and security fixes
3.14
bugs and security fixes
interpreter-core
(Objects, Python, Grammar, and Parser dirs)
topic-JIT
type-bug
An unexpected behavior, bug, or error
Bug report
Our abstract interpreter should have a case for
_BINARY_OP_INPLACE_ADD_UNICODE
, since this "special" instruction includes a store to a fast local. This can mean that the local being stored to is left with stale information (for instance, when analyzinga = ""; a += "spam"
the optimizer will incorrectly assume thata
still has the value""
).CC @Fidget-Spinner.
Linked PRs
_BINARY_OP_INPLACE_ADD_UNICODE
#125935The text was updated successfully, but these errors were encountered: