Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Sync selectors.py with upstream asyncio | Yury Selivanov | 2016-03-02 | 1 | -5/+6 |
| | |||||
* | Issue #24878: Add docstrings to selected namedtuples | Raymond Hettinger | 2015-08-18 | 1 | -2/+10 |
| | |||||
* | asyncio: Sync with github repo | Yury Selivanov | 2015-05-11 | 1 | -23/+26 |
| | |||||
* | Issue #23865: close() methods in multiple modules now are idempotent and more | Serhiy Storchaka | 2015-04-10 | 1 | -6/+12 |
|\ | | | | | | | | | robust at shutdown. If needs to release multiple resources, they are released even if errors are occured. | ||||
| * | Issue #23865: close() methods in multiple modules now are idempotent and more | Serhiy Storchaka | 2015-04-10 | 1 | -4/+8 |
| | | | | | | | | | | robust at shutdown. If needs to release multiple resources, they are released even if errors are occured. | ||||
* | | Issue #23485: select.devpoll.poll() is now retried when interrupted by a signal | Victor Stinner | 2015-03-31 | 1 | -4/+3 |
| | | |||||
* | | Issue #23485: select.kqueue.control() is now retried when interrupted by a ↵ | Victor Stinner | 2015-03-31 | 1 | -4/+2 |
| | | | | | | | | signal | ||||
* | | Issue #23485: select.epoll.poll() is now retried when interrupted by a signal | Victor Stinner | 2015-03-30 | 1 | -4/+2 |
| | | |||||
* | | Issue #23485: select.poll.poll() is now retried when interrupted by a signal | Victor Stinner | 2015-03-30 | 1 | -4/+3 |
| | | |||||
* | | Issue #23485: select.select() is now retried automatically with the recomputed | Victor Stinner | 2015-03-30 | 1 | -4/+1 |
| | | | | | | | | | | | | | | | | | | timeout when interrupted by a signal, except if the signal handler raises an exception. This change is part of the PEP 475. The asyncore and selectors module doesn't catch the InterruptedError exception anymore when calling select.select(), since this function should not raise InterruptedError anymore. | ||||
* | | Issue #23209, #23225: selectors.BaseSelector.get_key() now raises a | Victor Stinner | 2015-01-13 | 1 | -0/+3 |
|\ \ | |/ | | | | | | | | | RuntimeError if the selector is closed. And selectors.BaseSelector.close() now clears its internal reference to the selector mapping to break a reference cycle. Initial patch written by Martin Richard. | ||||
| * | Issue #23209, #23225: selectors.BaseSelector.close() now clears its internal | Victor Stinner | 2015-01-13 | 1 | -0/+3 |
| | | | | | | | | | | reference to the selector mapping to break a reference cycle. Initial patch written by Martin Richard. | ||||
* | | (Merge 3.4) Issue #23209: Revert change on selectors, test_selectors failed. | Victor Stinner | 2015-01-09 | 1 | -1/+0 |
|\ \ | |/ | |||||
| * | Issue #23209: Revert change on selectors, test_selectors failed. | Victor Stinner | 2015-01-09 | 1 | -1/+0 |
| | | |||||
* | | Merge 3.4 (asyncio, selectors) | Victor Stinner | 2015-01-09 | 1 | -0/+1 |
|\ \ | |/ | |||||
| * | Issue #23209: Break some reference cycles in asyncio. Patch written by Martin | Victor Stinner | 2015-01-09 | 1 | -0/+1 |
| | | | | | | | | Richard. | ||||
* | | selectors: truncate to 80 characters | Victor Stinner | 2015-01-08 | 1 | -1/+2 |
| | | |||||
* | | selectors: Fix typo in comment. | Yury Selivanov | 2014-12-08 | 1 | -1/+1 |
|\ \ | |/ | |||||
| * | selectors: Fix typo in comment. | Yury Selivanov | 2014-12-08 | 1 | -1/+1 |
| | | |||||
* | | selectors: Make sure EpollSelecrtor.select() works when no FD is registered. | Yury Selivanov | 2014-12-08 | 1 | -1/+6 |
|\ \ | |/ | | | | | Closes issue #23009. | ||||
| * | selectors: Make sure EpollSelecrtor.select() works when no FD is registered. | Yury Selivanov | 2014-12-08 | 1 | -1/+6 |
| | | | | | | | | Closes issue #23009. | ||||
| * | asyncio: remove unused imports and unused variables noticed by pyflakes | Victor Stinner | 2014-02-20 | 1 | -2/+1 |
| | | |||||
| * | asyncio: Fix spelling and typos. | Yury Selivanov | 2014-02-19 | 1 | -1/+1 |
| | | | | | | | | Thanks to Vajrasky Kok for discovering some of them. | ||||
* | | Fix issue 18931: selectors module now supports /dev/poll on Solaris. | Giampaolo Rodola' | 2014-03-20 | 1 | -1/+61 |
| | | |||||
* | | asyncio: remove unused imports and unused variables noticed by pyflakes | Victor Stinner | 2014-02-20 | 1 | -2/+1 |
| | | |||||
* | | asyncio: Fix spelling and typos. | Yury Selivanov | 2014-02-19 | 1 | -1/+1 |
|/ | | | | Thanks to Vajrasky Kok for discovering some of them. | ||||
* | Issue #20505: Remove resolution and _granularity from selectors and asyncio | Victor Stinner | 2014-02-07 | 1 | -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 the | Victor Stinner | 2014-01-31 | 1 | -1/+1 |
| | | | | result again to int | ||||
* | Issue #20452: select and selectors round (again) timeout away from zero for | Victor Stinner | 2014-01-31 | 1 | -2/+8 |
| | | | | | | poll and epoll Improve also debug info to analyze the issue | ||||
* | Issue #20311: selectors: Add a resolution attribute to BaseSelector. | Victor Stinner | 2014-01-25 | 1 | -1/+22 |
| | |||||
* | Issue #20311: Revert e042ea77a152 and 7ce7295393c2, PollSelector.select() and | Victor Stinner | 2014-01-25 | 1 | -8/+2 |
| | | | | EpollSelector.select() round again the timeout towards zero | ||||
* | Issue #20311: EpollSelector now also rounds the timeout towards zero, as | Victor Stinner | 2014-01-21 | 1 | -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 rounded | Victor Stinner | 2014-01-21 | 1 | -2/+4 |
| | |||||
* | Issue #20311: selector.PollSelector.select() now rounds the timeout away from | Victor Stinner | 2014-01-21 | 1 | -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 Rossum | 2013-12-07 | 1 | -9/+65 |
| | | | | slight test refactor. | ||||
* | Issue #19842: Refactor BaseSelector to make it an actual usable ABC. | Charles-François Natali | 2013-12-01 | 1 | -44/+68 |
| | |||||
* | selectors: use a single return. | Charles-François Natali | 2013-11-18 | 1 | -4/+2 |
| | |||||
* | Optimize BaseSelector.modify(). Patch by Arnaud Faure. | Guido van Rossum | 2013-11-07 | 1 | -3/+6 |
| | |||||
* | Close resources owned by subclass before calling super().close(). | Guido van Rossum | 2013-10-31 | 1 | -2/+2 |
| | |||||
* | Issue #19172: Add a get_map() method to selectors. | Charles-François Natali | 2013-10-30 | 1 | -1/+26 |
| | |||||
* | Issue #16853: Add new selectors module. | Charles-François Natali | 2013-09-04 | 1 | -0/+405 |