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
Changes by Hirokazu Yamamoto [EMAIL PROTECTED]:
--
keywords: +easy, needs review
___
Python tracker [EMAIL PROTECTED]
http://bugs.python.org/issue3759
___
___
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
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
___