This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

Author xdegaye
Recipients Jack Liu, draghuram, georg.brandl, gregory.p.smith, isandler, pitrou, r.david.murray, vstinner, xdegaye
Date 2016-10-02.09:02:34
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1475398955.02.0.0615704266893.issue20766@psf.upfronthosting.co.za>
In-reply-to
Content
The problem may still be reproduced by running the attached pdb_refleak.py script. Enter three times 'c' (short for the pdb 'continue' command) and the following line is printed:

    pdb 3 -> pdb 2 -> pdb 1

This shows that the third pdb instance 'pdb 3', owns indirectly a reference to the second and first pdb instances. As the _signal extension module owns a reference to 'pdb 3' through its sigint_handler() method, then it also owns indirectly a reference to 'pdb 1'.
History
Date User Action Args
2016-10-02 09:02:35xdegayesetrecipients: + xdegaye, georg.brandl, gregory.p.smith, isandler, pitrou, vstinner, draghuram, r.david.murray, Jack Liu
2016-10-02 09:02:35xdegayesetmessageid: <1475398955.02.0.0615704266893.issue20766@psf.upfronthosting.co.za>
2016-10-02 09:02:35xdegayelinkissue20766 messages
2016-10-02 09:02:34xdegayecreate