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 terry.reedy
Recipients amaury.forgeotdarc, ezio.melotti, jcea, kaizhu, terry.reedy
Date 2011-05-21.20:34:04
SpamBayes Score 1.6276467e-06
Marked as misclassified No
Message-id <1306010045.45.0.17975371621.issue12075@psf.upfronthosting.co.za>
In-reply-to
Content
> my class also inherits from subprocess.Popen, which has a __del__ method, which might interfere w/ collection

The doc says __del__ *will* prevent collection.

> (although gc.garbage says otherwise ;).

Do you mean that gc.garbage is empty, when it should not be?

Have you tried replacing __del__ with an explicit close or cleanup method?
History
Date User Action Args
2011-05-21 20:34:05terry.reedysetrecipients: + terry.reedy, jcea, amaury.forgeotdarc, ezio.melotti, kaizhu
2011-05-21 20:34:05terry.reedysetmessageid: <1306010045.45.0.17975371621.issue12075@psf.upfronthosting.co.za>
2011-05-21 20:34:04terry.reedylinkissue12075 messages
2011-05-21 20:34:04terry.reedycreate