Commit Graph

15 Commits

Author SHA1 Message Date
Berker Peksag 6e9d2e687b Issue #21240: Add an abstractmethod directive to mark abstract methods in the docs more explicitly 2015-12-08 12:14:50 +02:00
Brett Cannon aa00324f73 Make it clearer that the constants in the selectors docs are module-level 2015-09-18 15:21:02 -07:00
Victor Stinner b310173319 Issue #23485: Enhance and update selectors doc and test_selectors
Selector.select() is now retried with the recomputed timeout when interrupted
by a signal.

Write an unit test with a signal handler raising an exception, and a unit with
a signal handler which does not raise an exception (it does nothing).
2015-03-31 12:08:09 +02:00
Georg Brandl 77605cb937 merge with 3.4 2014-03-24 09:06:33 +01:00
Giampaolo Rodola' f97e82937f Fix issue 18931: selectors module now supports /dev/poll on Solaris. 2014-03-20 21:43:41 +01:00
Victor Stinner 85310a50a9 Issue #20505: Remove resolution and _granularity from selectors and asyncio
* Remove selectors.BaseSelector.resolution attribute
* Remove asyncio.BaseEventLoop._granularity attribute
2014-02-07 23:34:58 +01:00
Victor Stinner 635fca9704 Issue #20311: selectors: Add a resolution attribute to BaseSelector. 2014-01-25 14:56:48 +01:00
Guido van Rossum 9710ff04ac Silently ignore unregistering closed files. Fixes issue 19876. With docs and slight test refactor. 2013-12-07 15:57:01 -08:00
Charles-François Natali 837a6e012f Issue #19849: selectors: Document the possibility of early select() wakeup upon
EINTR.
2013-12-01 13:23:48 +01:00
Guido van Rossum 8519e5ade6 More realistic example for selectors.py. 2013-11-29 14:51:18 -08:00
Charles-François Natali a951f3d1ac Remove trailing blanks. 2013-11-29 18:57:47 +01:00
Charles-François Natali a9f90bc602 Set the FDs non-blocking in the selectors example. 2013-11-29 18:52:51 +01:00
Andrew Kuchling b3931d2111 Wording changes 2013-11-22 16:15:28 -05:00
Charles-François Natali 4574b49703 Issue #19172: Add a get_map() method to selectors. 2013-10-30 20:31:04 +01:00
Charles-François Natali 243d8d85de Issue #16853: Add new selectors module. 2013-09-04 19:02:49 +02:00