New submission from STINNER Victor: The leak can be reproduced with the minimum attached test_os.py:
C:\haypo\python>PCbuild\amd64\python_d.exe -m test -R 3:3 test_os Run tests sequentially 0:00:00 [1/1] test_os beginning 6 repetitions 123456 ...... test_os leaked [2, 2, 2] memory blocks, sum=6 test_os failed 1 test failed: test_os Total duration: 172 ms Tests result: FAILURE ---------- components: Tests, Windows files: test_os.py messages: 295451 nosy: haypo, paul.moore, steve.dower, tim.golden, zach.ware priority: normal severity: normal status: open title: [Windows] os.spawn*() tests of test_os leak references on Windows type: resource usage versions: Python 3.7 Added file: http://bugs.python.org/file46935/test_os.py _______________________________________ Python tracker <rep...@bugs.python.org> <http://bugs.python.org/issue30602> _______________________________________ _______________________________________________ Python-bugs-list mailing list Unsubscribe: https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com