Message112915
> - 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! |
|
Date |
User |
Action |
Args |
2010-08-04 22:45:06 | pitrou | set | recipients:
+ pitrou, gvanrossum, tim.peters, ncoghlan, flox |
2010-08-04 22:45:06 | pitrou | set | messageid: <1280961906.45.0.854818205196.issue477863@psf.upfronthosting.co.za> |
2010-08-04 22:45:05 | pitrou | link | issue477863 messages |
2010-08-04 22:45:05 | pitrou | create | |
|