Skip to content

test_pyrepl leaks references#119469

@vstinner

Description

@vstinner

Since commit fe92193, test_pyrepl started to leak a lot of references.

commit fe921931a35b461fb81821a474b510f4d67c520b (HEAD) Author: Lysandros Nikolaou <lisandrosnik@gmail.com> Date: Mon May 20 17:57:32 2024 -0400 gh-111201: Add tests for unix console class in pyrepl (#118653) 

Example:

$ ./python -m test test_pyrepl -u all -R 3:3 (...) test_pyrepl leaked [8943, 8939, 8943] references, sum=26825 test_pyrepl leaked [3138, 3136, 3138] memory blocks, sum=9412 (...) 

cc @lysnikolaou

Linked PRs

Metadata

Metadata

Assignees

No one assigned

    Labels

    testsTests in the Lib/test dir

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions