-
-
Notifications
You must be signed in to change notification settings - Fork 32.4k
Closed
Labels
3.14bugs and security fixesbugs and security fixesinterpreter-core(Objects, Python, Grammar, and Parser dirs)(Objects, Python, Grammar, and Parser dirs)type-bugAn unexpected behavior, bug, or errorAn unexpected behavior, bug, or error
Description
Bug report
Bug description:
Example:
$ ./python -m test -R 3:3 test_peepholer
(...)
test_peepholer leaked [46, 46, 46] references, sum=138
test_peepholer leaked [41, 41, 41] memory blocks, sum=123
(...)
Regression introduced by the change 0664c1a of #129568:
commit 0664c1af9b29a5af2404e04a522f8e9e175ba05a
Author: Yan Yanchii <yyanchiy@gmail.com>
Date: Tue Feb 4 09:10:55 2025 +0100
gh-126835: Move constant subscript folding to CFG (#129568)
Move folding of constant subscription from AST optimizer to CFG.
Co-authored-by: Irit Katriel <1055913+iritkatriel@users.noreply.github.com>
CPython versions tested on:
CPython main branch
Operating systems tested on:
Linux
Metadata
Metadata
Assignees
Labels
3.14bugs and security fixesbugs and security fixesinterpreter-core(Objects, Python, Grammar, and Parser dirs)(Objects, Python, Grammar, and Parser dirs)type-bugAn unexpected behavior, bug, or errorAn unexpected behavior, bug, or error