# 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 0664c1af9b29a5af2404e04a522f8e9e175ba05a of https://github.com/python/cpython/pull/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
Activity
picnixz commentedon Feb 4, 2025
I think it's solved by #129634
Eclips4 commentedon Feb 4, 2025
Fixed now. Sorry for the nose!