New submission from STINNER Victor:

Using PR 3138 of bpo-31234, I noticed that test_xmlrpc leaks dangling threads. 
Example:

haypo@selma$ ./python -m test -v test_xmlrpc --fail-env-changed -m 
test.test_xmlrpc.MultiPathServerTestCase.test_path1
== CPython 3.7.0a0 (heads/master:0267128, Aug 21 2017, 17:23:11) [GCC 6.4.1 
20170727 (Red Hat 6.4.1-1)]
(...)
Warning -- threading_cleanup() detected 0 leaked threads (count: 0, dangling: 2)
test_xmlrpc failed (env changed)
(...)

It seems like xmlrpc error handling creates reference leaks. Attached PR fixes 
the issue.

----------
components: Tests
messages: 300630
nosy: haypo
priority: normal
severity: normal
status: open
title: test_xmlrpc leaks dangling threads
type: resource usage
versions: Python 3.7

_______________________________________
Python tracker <rep...@bugs.python.org>
<http://bugs.python.org/issue31247>
_______________________________________
_______________________________________________
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com

Reply via email to