diff options
author | Victor Stinner <victor.stinner@gmail.com> | 2014-12-04 22:08:37 (GMT) |
---|---|---|
committer | Victor Stinner <victor.stinner@gmail.com> | 2014-12-04 22:08:37 (GMT) |
commit | d5ea5d528a5bd356b1204ba8ac2bb9d27be0ac02 (patch) | |
tree | 57d44af2d2e27d4da49dad23be9b4cfef86afa71 /Lib/asyncio/unix_events.py | |
parent | 74aee426c166241c8c0f2a64d22e0b4b9e53443b (diff) | |
parent | e80bf0d4a996b3ecda2c2f3cbab10037b9fdcd5e (diff) | |
download | cpython-d5ea5d528a5bd356b1204ba8ac2bb9d27be0ac02.zip cpython-d5ea5d528a5bd356b1204ba8ac2bb9d27be0ac02.tar.gz cpython-d5ea5d528a5bd356b1204ba8ac2bb9d27be0ac02.tar.bz2 |
Merge 3.4 (asyncio)
Diffstat (limited to 'Lib/asyncio/unix_events.py')
-rw-r--r-- | Lib/asyncio/unix_events.py | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/Lib/asyncio/unix_events.py b/Lib/asyncio/unix_events.py index efe06d4..d5db4d5 100644 --- a/Lib/asyncio/unix_events.py +++ b/Lib/asyncio/unix_events.py @@ -71,6 +71,7 @@ class _UnixSelectorEventLoop(selector_events.BaseSelectorEventLoop): or coroutines.iscoroutinefunction(callback)): raise TypeError("coroutines cannot be used with add_signal_handler()") self._check_signal(sig) + self._check_closed() try: # set_wakeup_fd() raises ValueError if this is not the # main thread. By calling it early we ensure that an |