gh-96497: Mangle name before symtable lookup in 'symtable_extend_namedexpr_scope'#96561
Conversation
|
EDIT: Seems rerunning the checks fixed it. Thanks. |
|
Hi, would anyone be able to give this PR a review? |
|
Thanks @wookie184 for the PR, and @serhiy-storchaka for merging it 🌮🎉.. I'm working now to backport this PR to: 3.11, 3.12. |
…d_namedexpr_scope' (pythonGH-96561) (cherry picked from commit 664965a) Co-authored-by: wookie184 <wookie1840@gmail.com>
|
GH-115603 is a backport of this pull request to the 3.12 branch. |
|
Sorry, @wookie184 and @serhiy-storchaka, I could not cleanly backport this to |
…e_extend_namedexpr_scope' (pythonGH-96561) (cherry picked from commit 664965a) Co-authored-by: wookie184 <wookie1840@gmail.com>
|
GH-115604 is a backport of this pull request to the 3.11 branch. |
…d_namedexpr_scope' (pythonGH-96561)
…d_namedexpr_scope' (pythonGH-96561)
…d_namedexpr_scope' (pythonGH-96561)
Closes #96497
Previously, the non-mangled name was being looked up for assignment expressions in comprehensions, which caused some bugs. See issue for more information.