summaryrefslogtreecommitdiffstats
path: root/Misc
diff options
context:
space:
mode:
authorBrandt Bucher <brandtbucher@microsoft.com>2022-11-08 15:50:46 (GMT)
committerGitHub <noreply@github.com>2022-11-08 15:50:46 (GMT)
commitc7065ce01999cbbc483bfcb7449b5223bea5bfa1 (patch)
tree4ab78d5fae6f5d225738655faf3dae558d5c9b6d /Misc
parente56e33d271e511e7c2324640d7f49d39b49830d8 (diff)
downloadcpython-c7065ce01999cbbc483bfcb7449b5223bea5bfa1.zip
cpython-c7065ce01999cbbc483bfcb7449b5223bea5bfa1.tar.gz
cpython-c7065ce01999cbbc483bfcb7449b5223bea5bfa1.tar.bz2
GH-93143: Don't turn LOAD_FAST into LOAD_FAST_CHECK (GH-99075)
Diffstat (limited to 'Misc')
-rw-r--r--Misc/NEWS.d/next/Core and Builtins/2022-10-19-23-54-43.gh-issue-93143.1wCYub.rst4
1 files changed, 4 insertions, 0 deletions
diff --git a/Misc/NEWS.d/next/Core and Builtins/2022-10-19-23-54-43.gh-issue-93143.1wCYub.rst b/Misc/NEWS.d/next/Core and Builtins/2022-10-19-23-54-43.gh-issue-93143.1wCYub.rst
new file mode 100644
index 0000000..779ff6a
--- /dev/null
+++ b/Misc/NEWS.d/next/Core and Builtins/2022-10-19-23-54-43.gh-issue-93143.1wCYub.rst
@@ -0,0 +1,4 @@
+Rather than changing :attr:`~types.CodeType.co_code`, the interpreter will
+now display a :exc:`RuntimeWarning` and assign :const:`None` to any fast
+locals that are left unbound after jumps or :keyword:`del`
+statements executed while tracing.