homepage

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 sbt
Recipients sbt
Date 2013年06月09日.19:47:53
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1370807273.91.0.83033499223.issue18174@psf.upfronthosting.co.za>
In-reply-to
Content
regrtest already tests for refcount leaks and memory allocation leaks. It can also be made to check for file descriptor leaks (and perhaps also handles on Windows).
Running with the attached patch makes it look like test_openpty, test_shutil, test_subprocess, test_uuid all leak fds on Linux, but I have not investigated:
$ ./python -m test.regrtest -R 3:3 test_openpty test_shutil test_subprocess test_uuid
[1/4] test_openpty
123456
......
test_openpty leaked [2, 2, 2] fds, sum=6
[2/4/1] test_shutil
beginning 6 repetitions
123456
......
test_shutil leaked [4, 4, 4] fds, sum=12
[3/4/2] test_subprocess
beginning 6 repetitions
123456
......
test_subprocess leaked [5, 5, 5] fds, sum=15
[4/4/3] test_uuid
beginning 6 repetitions
123456
......
test_uuid leaked [1, 1, 1] fds, sum=3
4 tests failed:
 test_openpty test_shutil test_subprocess test_uuid
History
Date User Action Args
2013年06月09日 19:47:53sbtsetrecipients: + sbt
2013年06月09日 19:47:53sbtsetmessageid: <1370807273.91.0.83033499223.issue18174@psf.upfronthosting.co.za>
2013年06月09日 19:47:53sbtlinkissue18174 messages
2013年06月09日 19:47:53sbtcreate

AltStyle によって変換されたページ (->オリジナル) /