[issue11273] asyncore creates selec (or poll) on every iteration

STINNER Victor report at bugs.python.org
Fri Jun 27 22:39:11 CEST 2014


STINNER Victor added the comment:

"On the other hand, it appears to be quite difficult to integrate such a massive change into asyncore in a fully backward compatible manner. At least, it's not clear to me how to do this without breaking code relying on map's parameter and asyncore.socket_map."

Python 3.4 has now asyncio which creates a selector object which has register/unregister methods and so benefit of performances enhancements of epoll/kqueue/devpoll.

Since Giampaolo cares of backward compatibility of asyncore, and the fact that asyncore is now marked as deprecated ("This module exists for backwards compatibility only. For new code we recommend using asyncio."), I close this issue as wont fix ("wont fix" in asyncore, but it's already fixed in asyncio ;-)).

----------
nosy: +haypo
resolution:  -> wont fix
status: open -> closed

_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue11273>
_______________________________________


More information about the Python-bugs-list mailing list