[issue30599] os.register_at_fork(): allow to unregister callbacks -- test_threaded_import leaks references

2017-06-10 Thread STINNER Victor
STINNER Victor added the comment: New changeset c5179f6e2dfcc01cf0b977b184f5b8f8ac98fab1 by Victor Stinner in branch 'master': bpo-30599: Fix test_threaded_import reference leak (#2029) https://github.com/python/cpython/commit/c5179f6e2dfcc01cf0b977b184f5b8f8ac98fab1 --

[issue30599] os.register_at_fork(): allow to unregister callbacks -- test_threaded_import leaks references

2017-06-09 Thread STINNER Victor
Changes by STINNER Victor : -- pull_requests: +2095 ___ Python tracker ___ ___

[issue30599] os.register_at_fork(): allow to unregister callbacks -- test_threaded_import leaks references

2017-06-08 Thread STINNER Victor
STINNER Victor added the comment: With https://github.com/python/cpython/pull/2001 test_threaded_import doesn't leak anymore. -- ___ Python tracker ___

[issue30599] os.register_at_fork(): allow to unregister callbacks -- test_threaded_import leaks references

2017-06-08 Thread STINNER Victor
Changes by STINNER Victor : -- pull_requests: +2068 ___ Python tracker ___ ___

[issue30599] os.register_at_fork(): allow to unregister callbacks -- test_threaded_import leaks references

2017-06-08 Thread Antoine Pitrou
Antoine Pitrou added the comment: Agreed with Serhiy. test_threaded_import should just re-import a module which has less side effects. -- ___ Python tracker

[issue30599] os.register_at_fork(): allow to unregister callbacks -- test_threaded_import leaks references

2017-06-08 Thread Serhiy Storchaka
Serhiy Storchaka added the comment: This make the API and implementation more complex. I prefer making tests not creating several instances of the random module. Or do this in a short-living subprocess. -- nosy: +rhettinger ___ Python tracker

[issue30599] os.register_at_fork(): allow to unregister callbacks -- test_threaded_import leaks references

2017-06-08 Thread Stéphane Wirtel
Changes by Stéphane Wirtel : -- nosy: +matrixise ___ Python tracker ___ ___

[issue30599] os.register_at_fork(): allow to unregister callbacks -- test_threaded_import leaks references

2017-06-08 Thread STINNER Victor
Changes by STINNER Victor : -- title: test_threaded_import leaks references -> os.register_at_fork(): allow to unregister callbacks -- test_threaded_import leaks references ___ Python tracker