Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

test_peepholers leaks references (main branch) #129635

Copy link
Copy link
Closed
@vstinner

Description

@vstinner
Issue body actions

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

No one assigned

    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

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions

      Morty Proxy This is a proxified and sanitized view of the page, visit original site.