[issue21040] socketserver: use selectors module

Charles-François Natali report at bugs.python.org
Sun Mar 23 21:17:05 CET 2014


New submission from Charles-François Natali:

This patch updates the socketserver module to use selectors.
It's simpler, will use poll() when available, and also fixes a bug where the timeout would not be recomputed upon EINTR.

Note that I removed an EINTR-handling test from test_socketserver because test_selectors already covers this in a more clean and robust way.

----------
components: Library (Lib)
files: socketserver_use_selectors.diff
keywords: patch
messages: 214631
nosy: haypo, neologix, pitrou
priority: normal
severity: normal
stage: patch review
status: open
title: socketserver: use selectors module
type: enhancement
versions: Python 3.5
Added file: http://bugs.python.org/file34592/socketserver_use_selectors.diff

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


More information about the Python-bugs-list mailing list