summaryrefslogtreecommitdiffstats
path: root/Lib/selectors.py
Commit message (Collapse)AuthorAgeFilesLines
* Issue #20311: EpollSelector now also rounds the timeout towards zero, asVictor Stinner2014-01-211-1/+8
| | | | | | | | PollSelector. This change is not really required in Python 3.4, since select.epoll.poll() now rounds also correctly the timeout. But Guido van Rossum prefers to have exactly the same selectors.py file in CPython and Tulip projects: "it's not harmful".
* selectors: add a comment to explain why and how poll timeout is roundedVictor Stinner2014-01-211-2/+4
|
* Issue #20311: selector.PollSelector.select() now rounds the timeout away fromVictor Stinner2014-01-211-1/+7
| | | | | | | | zero, instead of rounding towards zero. For example, a timeout of one microsecond is now rounded to one millisecond, instead of being rounded to zero. Move also a test in test_epoll which was moved by my previous merge.
* Silently ignore unregistering closed files. Fixes issue 19876. With docs and ↵Guido van Rossum2013-12-071-9/+65
| | | | slight test refactor.
* Issue #19842: Refactor BaseSelector to make it an actual usable ABC.Charles-François Natali2013-12-011-44/+68
|
* selectors: use a single return.Charles-François Natali2013-11-181-4/+2
|
* Optimize BaseSelector.modify(). Patch by Arnaud Faure.Guido van Rossum2013-11-071-3/+6
|
* Close resources owned by subclass before calling super().close().Guido van Rossum2013-10-311-2/+2
|
* Issue #19172: Add a get_map() method to selectors.Charles-François Natali2013-10-301-1/+26
|
* Issue #16853: Add new selectors module.Charles-François Natali2013-09-041-0/+405