[issue3759] test_asyncore.py leaks handle

2008-09-02 Thread Hirokazu Yamamoto
New submission from Hirokazu Yamamoto [EMAIL PROTECTED]: asyncore.file_wrapper() dups passed handle, so original handle must be closed. -- components: Tests files: test_asyncore.patch keywords: patch messages: 72343 nosy: ocean-city severity: normal status: open title: test_asyncore.py

[issue3759] test_asyncore.py leaks handle

2008-09-02 Thread Hirokazu Yamamoto
Changes by Hirokazu Yamamoto [EMAIL PROTECTED]: -- keywords: +easy, needs review ___ Python tracker [EMAIL PROTECTED] http://bugs.python.org/issue3759 ___ ___

[issue3759] test_asyncore.py leaks handle

2008-09-02 Thread Amaury Forgeot d'Arc
Amaury Forgeot d'Arc [EMAIL PROTECTED] added the comment: Tested on Linux: each call to test.test_asyncore.test_main() opens two file descriptors (shown in /proc/pid/fd). The patch corrects this. -- keywords: -needs review nosy: +amaury.forgeotdarc resolution: - accepted

[issue3759] test_asyncore.py leaks handle

2008-09-02 Thread Hirokazu Yamamoto
Hirokazu Yamamoto [EMAIL PROTECTED] added the comment: Thanks, fixed in r66162(trunk), r66163(py3k) -- status: open - closed ___ Python tracker [EMAIL PROTECTED] http://bugs.python.org/issue3759 ___