From: Yury Selivanov Date: Tue, 4 Aug 2015 19:37:24 +0000 (-0400) Subject: asyncio: Sync with mainstream X-Git-Tag: v3.5.0rc1~38^2 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=996083d6e65a96304a3d7ff61420f99883d3137e;p=thirdparty%2FPython%2Fcpython.git asyncio: Sync with mainstream --- diff --git a/Lib/asyncio/base_events.py b/Lib/asyncio/base_events.py index 5a536a22b7b3..f6cc88f098ca 100644 --- a/Lib/asyncio/base_events.py +++ b/Lib/asyncio/base_events.py @@ -1205,7 +1205,7 @@ class BaseEventLoop(events.AbstractEventLoop): return enabled = bool(enabled) - if self._coroutine_wrapper_set is enabled: + if self._coroutine_wrapper_set == enabled: return wrapper = coroutines.debug_wrapper