This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

classification
Title: test_asyncore.py leaks handle
Type: Stage:
Components: Tests Versions: Python 3.0, Python 2.6
process
Status: closed Resolution: fixed
Dependencies: Superseder:
Assigned To: Nosy List: amaury.forgeotdarc, ocean-city
Priority: normal Keywords: easy, patch

Created on 2008-09-02 15:04 by ocean-city, last changed 2022-04-11 14:56 by admin. This issue is now closed.

Files
File name Uploaded Description Edit
test_asyncore.patch ocean-city, 2008-09-02 15:04
Messages (3)
msg72343 - (view) Author: Hirokazu Yamamoto (ocean-city) * (Python committer) Date: 2008-09-02 15:04
asyncore.file_wrapper() dups passed handle, so original handle must be
closed.
msg72364 - (view) Author: Amaury Forgeot d'Arc (amaury.forgeotdarc) * (Python committer) Date: 2008-09-02 20:20
Tested on Linux: each call to test.test_asyncore.test_main() opens two
file descriptors (shown in /proc/<pid>/fd). The patch corrects this.
msg72365 - (view) Author: Hirokazu Yamamoto (ocean-city) * (Python committer) Date: 2008-09-02 20:42
Thanks, fixed in r66162(trunk), r66163(py3k)
History
Date User Action Args
2022-04-11 14:56:38adminsetgithub: 48009
2008-09-04 11:26:30ocean-citysetresolution: accepted -> fixed
2008-09-02 20:42:01ocean-citysetstatus: open -> closed
messages: + msg72365
2008-09-02 20:20:44amaury.forgeotdarcsetkeywords: - needs review
resolution: accepted
messages: + msg72364
nosy: + amaury.forgeotdarc
2008-09-02 19:56:47ocean-citysetkeywords: + easy, needs review
2008-09-02 15:04:50ocean-citycreate