summaryrefslogtreecommitdiffstats
path: root/Lib/selectors.py
Commit message (Collapse)AuthorAgeFilesLines
* Fix issue 18931: selectors module now supports /dev/poll on Solaris.Giampaolo Rodola'2014-03-201-1/+61
|
* asyncio: remove unused imports and unused variables noticed by pyflakesVictor Stinner2014-02-201-2/+1
|
* asyncio: Fix spelling and typos.Yury Selivanov2014-02-191-1/+1
| | | | Thanks to Vajrasky Kok for discovering some of them.
* Issue #20505: Remove resolution and _granularity from selectors and asyncioVictor Stinner2014-02-071-21/+0
| | | | | * Remove selectors.BaseSelector.resolution attribute * Remove asyncio.BaseEventLoop._granularity attribute
* Issue #20455: math.ceil() returns an int in Python 3, no need to cast theVictor Stinner2014-01-311-1/+1
| | | | result again to int
* Issue #20452: select and selectors round (again) timeout away from zero forVictor Stinner2014-01-311-2/+8
| | | | | | poll and epoll Improve also debug info to analyze the issue
* Issue #20311: selectors: Add a resolution attribute to BaseSelector.Victor Stinner2014-01-251-1/+22
|
* Issue #20311: Revert e042ea77a152 and 7ce7295393c2, PollSelector.select() andVictor Stinner2014-01-251-8/+2
| | | | EpollSelector.select() round again the timeout towards zero
* 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