[Python-checkins] cpython (3.4): asyncio: Sync with mainstream

yury.selivanov python-checkins at python.org
Tue Aug 4 21:38:34 CEST 2015


https://hg.python.org/cpython/rev/527f1bbf1840
changeset:   97244:527f1bbf1840
branch:      3.4
parent:      97235:659f5adc2354
user:        Yury Selivanov <yselivanov at sprymix.com>
date:        Tue Aug 04 15:37:24 2015 -0400
summary:
  asyncio: Sync with mainstream

files:
  Lib/asyncio/base_events.py |  2 +-
  1 files changed, 1 insertions(+), 1 deletions(-)


diff --git a/Lib/asyncio/base_events.py b/Lib/asyncio/base_events.py
--- a/Lib/asyncio/base_events.py
+++ b/Lib/asyncio/base_events.py
@@ -1205,7 +1205,7 @@
             return
 
         enabled = bool(enabled)
-        if self._coroutine_wrapper_set is enabled:
+        if self._coroutine_wrapper_set == enabled:
             return
 
         wrapper = coroutines.debug_wrapper

-- 
Repository URL: https://hg.python.org/cpython


More information about the Python-checkins mailing list