8000
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 ceeb417 commit 2b1e2f1Copy full SHA for 2b1e2f1
Doc/whatsnew/3.12.rst
@@ -257,6 +257,9 @@ Inlining does result in a few visible behavior changes:
257
258
* There is no longer a separate frame for the comprehension in tracebacks,
259
and tracing/profiling no longer shows the comprehension as a function call.
260
+* The :mod:`symtable` module will no longer produce child symbol tables for each
261
+ comprehension; instead, the comprehension's locals will be included in the
262
+ parent function's symbol table.
263
* Calling :func:`locals` inside a comprehension now includes variables
264
from outside the comprehension, and no longer includes the synthetic ``.0``
265
variable for the comprehension "argument".
0 commit comments