Author pitrou
Recipients flox, gvanrossum, ncoghlan, pitrou, tim.peters
Date 2010-08-04.22:45:05
SpamBayes Score 1.15238e-07
Marked as misclassified No
Message-id <1280961906.45.0.854818205196.issue477863@psf.upfronthosting.co.za>
In-reply-to
Content
> - use test.script_helper.run_python rather than rolling your own
> run_command (or, at least, just make run_command a thin wrapper around
> run_python). I've been trying to trim down the number of different
> ways the test suite launches interpreter subprocesses for testing
> purposes, and script_helper also does a bit of extra cleanup to try to
> eliminate false alarms regarding reference leaks.

After a quick grep, it seems script_helper is really in the minority
(it's only used in three test files) while ad hoc calls to subprocess
with sys.executable are all over the place. I'd rather open a separate
feature request for that new script_helper function than convert all
uses of subprocess in this issue.

> - update the description of gc.DEBUG_UNCOLLECTABLE in the docs to
> specifically mention that the complete list of uncollectable objects
> will also be printed at interpreter shutdown.

Ah, indeed. Thanks!
History
Date User Action Args
2010-08-04 22:45:06pitrousetrecipients: + pitrou, gvanrossum, tim.peters, ncoghlan, flox
2010-08-04 22:45:06pitrousetmessageid: <1280961906.45.0.854818205196.issue477863@psf.upfronthosting.co.za>
2010-08-04 22:45:05pitroulinkissue477863 messages
2010-08-04 22:45:05pitroucreate