diff options
| author | Brandt Bucher <brandtbucher@microsoft.com> | 2023-05-12 16:03:47 -0700 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2023-05-12 23:03:47 +0000 |
| commit | fbb6def08a7ce7d21653e15ccbc4017b4eb2e795 (patch) | |
| tree | 85c86ae7bbc4afc2e3675d71b025e3f4246f6c8f /Python/ceval.c | |
| parent | 4ade7c33696b6a2a2e07295366ae0c29c31bb050 (diff) | |
| download | python-fbb6def08a7ce7d21653e15ccbc4017b4eb2e795.tar.gz python-fbb6def08a7ce7d21653e15ccbc4017b4eb2e795.zip | |
[3.11] GH-104405: Add missing PEP 523 checks (GH-104441)
Diffstat (limited to 'Python/ceval.c')
| -rw-r--r-- | Python/ceval.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/Python/ceval.c b/Python/ceval.c index 72f9c8375d0..47df3531970 100644 --- a/Python/ceval.c +++ b/Python/ceval.c @@ -2233,6 +2233,7 @@ handle_eval_breaker: } TARGET(BINARY_SUBSCR_GETITEM) { + DEOPT_IF(tstate->interp->eval_frame, BINARY_SUBSCR); PyObject *sub = TOP(); PyObject *container = SECOND(); _PyBinarySubscrCache *cache = (_PyBinarySubscrCache *)next_instr; |
