New submission from Xavier de Gaye <[email protected]>:
When use_poll is True, test_handle_close in test_asyncore.py invokes
twice the handle_close() method.
The attached patch:
modifies test_handle_close so that it fails when handle_close() is
called more than once
includes a fix that makes readwrite() behave like poll(): check
that the dispatcher instance is still in the socket map, before
calling the handle_xxx methods
----------
components: Library (Lib)
files: handle_close.diff
keywords: patch
messages: 147311
nosy: giampaolo.rodola, josiahcarlson, neologix, stutzbach, xdegaye
priority: normal
severity: normal
status: open
title: handle_close called twice in poll2
type: behavior
versions: Python 3.3
Added file: http://bugs.python.org/file23634/handle_close.diff
_______________________________________
Python tracker <[email protected]>
<http://bugs.python.org/issue13372>
_______________________________________
_______________________________________________
Python-bugs-list mailing list
Unsubscribe:
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com