New submission from STINNER Victor:

Starting at the following build, test_idle started to leak references:

Example of leak:

$ ./python -m test -R 3:3 -u all test_idle -m 
test_idle leaked [2168, 2168, 2168] references, sum=6504
test_idle leaked [1152, 1154, 1155] memory blocks, sum=3461

A bisection identified this commit:

commit 9397e2a87ed6e0e724ad71a0c751553620cb775e
Author: csabella <>
Date:   Sun Jul 30 13:34:25 2017 -0400

    bpo-31004: IDLE: Factor out FontPage class from configdialog (step 1) 
    The slightly modified tests continue to pass. The General test
    broken by the switch to Notebook is fixed.
    Patch mostly by Cheryl Sabella.

messages: 299834
nosy: haypo
priority: normal
severity: normal
status: open
title: test_idle: idlelib.configdialog leaks references
type: resource usage
versions: Python 3.7

Python tracker <>
Python-bugs-list mailing list

Reply via email to