GV

GeezerVison

The World Wide Web, restored to 800 pixels of glory.

Home|About|Gaming cabinet|Archives|How it works|Starter sites

On this site

  • Sign in
  • ActionsCI/CD and automation
  • CodespacesCloud development environments
  • All Features
  • Documentation
  • Training
  • Certifications
  • Build with Copilot
  • Customize Copilot
  • Integrations
  • Trending repos
  • GitHub Sponsors
  • Developer articles
  • Enterprises

This view

  • Original page
  • New address

GeezerVison is showing github.com — test_peepholers leaks references (main branch) · Issue #129635 · python/cpython

test_peepholers leaks references (main branch) #129635

New issue
Copy link
New issue
Copy link
Closed
Closed
test_peepholers leaks references (main branch)#129635
Copy link
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

@vstinner
vstinner
opened on Feb 4, 2025
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 <[email protected]>
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 <[email protected]>

CPython versions tested on:

CPython main branch

Operating systems tested on:

Linux

Activity

  1. vstinner
    added
    type-bugAn unexpected behavior, bug, or errorAn unexpected behavior, bug, or error
    on Feb 4, 2025
  2. picnixz
    added
    interpreter-core(Objects, Python, Grammar, and Parser dirs)(Objects, Python, Grammar, and Parser dirs)
    3.14bugs and security fixesbugs and security fixes
    on Feb 4, 2025
  3. picnixz commented on Feb 4, 2025

    @picnixz
    picnixz
    on Feb 4, 2025
    Member
    More actions

    I think it's solved by #129634

    Reacted by Victor Stinner
  4. Eclips4 commented on Feb 4, 2025

    @Eclips4
    Eclips4
    on Feb 4, 2025
    Member
    More actions

    Fixed now. Sorry for the nose!

    Reacted by Victor Stinner
  5. Eclips4
    closed this as completedon Feb 4, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

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

      You are visitor 01402503 — GeezerVison does not store the pages you look up.
      Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required.