]> git.ipfire.org Git - thirdparty/Python/cpython.git/commit
gh-121914: Change the names of the symbol tables for lambda and genexpr (GH-135288)
authorSerhiy Storchaka <storchaka@gmail.com>
Sun, 13 Jul 2025 18:09:42 +0000 (21:09 +0300)
committerGitHub <noreply@github.com>
Sun, 13 Jul 2025 18:09:42 +0000 (21:09 +0300)
commitda699ed7e546ec106609a3858dd529335facaa4d
tree664a3d0f546b53172d812e59e8914533cabc6ee8
parent85ec3b3b503ffd5b7e45f8b3fa2cec0c10e4bef0
gh-121914: Change the names of the symbol tables for lambda and genexpr (GH-135288)

Change the names of the symbol tables for lambda expressions and generator
expressions to "<lambda>" and "<genexpr>" respectively to avoid conflicts
with user-defined names.
Include/internal/pycore_global_objects_fini_generated.h
Include/internal/pycore_global_strings.h
Include/internal/pycore_runtime_init_generated.h
Include/internal/pycore_unicodeobject_generated.h
Lib/symtable.py
Lib/test/test_symtable.py
Misc/NEWS.d/next/Library/2025-06-09-10-16-55.gh-issue-121914.G6Avkq.rst [new file with mode: 0644]
Python/symtable.c