]> granicus.if.org Git - python/commit
Issue #23485: Enhance and update selectors doc and test_selectors
authorVictor Stinner <victor.stinner@gmail.com>
Tue, 31 Mar 2015 10:08:09 +0000 (12:08 +0200)
committerVictor Stinner <victor.stinner@gmail.com>
Tue, 31 Mar 2015 10:08:09 +0000 (12:08 +0200)
commitb31017331994abcc6af3ce2febfc33593c3d7fec
treeab3097d35ec2ba5c001a81781f8726e3603ea73c
parent45ca48b03d08cdc9959e0577bc84b845931112f6
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).
Doc/library/selectors.rst
Lib/test/test_selectors.py