cpython: 8e0eeb4cc8fa (original) (raw)
Mercurial > cpython
changeset 87086:8e0eeb4cc8fa
asyncio: Temporary fix by Victor Stinner for issue 19566. [#19566]
Guido van Rossum guido@dropbox.com | |
---|---|
date | Wed, 13 Nov 2013 11:08:34 -0800 |
parents | e53984133740 |
children | ca909a3728d3 |
files | Lib/asyncio/unix_events.py |
diffstat | 1 files changed, 3 insertions(+), 2 deletions(-)[+] [-] Lib/asyncio/unix_events.py 5 |
line wrap: on
line diff
--- a/Lib/asyncio/unix_events.py +++ b/Lib/asyncio/unix_events.py @@ -593,11 +593,12 @@ class FastChildWatcher(BaseChildWatcher) (O(1) each time a child terminates). """ def init(self, loop):
super().__init__(loop)[](#l1.7)
- self._lock = threading.Lock() self._zombies = {} self._forks = 0
# Call base class constructor last because it calls back into[](#l1.12)
# the subclass (set_loop() calls _do_waitpid()).[](#l1.13)
super().__init__(loop)[](#l1.14)