We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent fe8ca4b commit a96a192Copy full SHA for a96a192
Misc/NEWS.d/next/Core_and_Builtins/2025-06-06-18-57-30.gh-issue-135171.0YtLq6.rst
@@ -0,0 +1,6 @@
1
+Reverts the behavior of generator expressions when created with a
2
+non-iterable to the pre-3.13 behavior of raising a TypeError. It is no
3
+longer possible to cause a crash in the debugger by altering the generator
4
+expression's local variables. This is achieved by moving the ``GET_ITER``
5
+instruction back to the creation of the generator expression and adding an
6
+additional check to ``FOR_ITER``.
0 commit comments