[issue30599] test_threaded_import leaks references

2017-06-27 Thread STINNER Victor
STINNER Victor added the comment: test_threaded_import has been fixed, so I close the issue. Thanks Antoine and Serhiy for the reviews and feedback ;-) I'm ok to not provide a "unregister" function. At least, until an user complains with a good rationale ;-) -- resolution: -> fixed s

[issue30599] test_threaded_import leaks references

2017-06-08 Thread STINNER Victor
STINNER Victor added the comment: > The leak was introduced by the commit > 346cbd351ee0dd3ab9cb9f0e4cb625556707877e. This commit "bpo-16500: Allow registering at-fork handlers" adds the following code to Lib/random.py: +if hasattr(_os, "fork"): +_os.register_at_fork(_inst.seed, when='chi

[issue30599] test_threaded_import leaks references

2017-06-08 Thread STINNER Victor
STINNER Victor added the comment: The leak was introduced by the commit 346cbd351ee0dd3ab9cb9f0e4cb625556707877e. -- ___ Python tracker ___ __

[issue30599] test_threaded_import leaks references

2017-06-08 Thread STINNER Victor
STINNER Victor added the comment: Even when the two latest refleak fixes (ab1cb80b435a34e4f908c97cd2f3a7fe8add6505 and 865de27dd79571a4a5c7a7d22a07fb909c4a9f8e), test_threaded_import still leaks. haypo@selma$ ./python -m test -R 3:3 -m test_side_effect_import test_threaded_import Run tests

[issue30599] test_threaded_import leaks references

2017-06-08 Thread STINNER Victor
New submission from STINNER Victor: http://buildbot.python.org/all/builders/x86%20Gentoo%20Refleaks%203.x/builds/28/steps/test/logs/stdio 1:50:39 load avg: 3.66 [302/405/8] test_threaded_import failed -- running: test_tarfile (80 sec) beginning 6 repetitions 123456 .. test_threaded_import l