[Python-checkins] cpython (3.4): Revert da29a94367b2
yury.selivanov
python-checkins at python.org
Sun Aug 2 22:50:00 CEST 2015
https://hg.python.org/cpython/rev/e2b02585bb5a
changeset: 97213:e2b02585bb5a
branch: 3.4
parent: 97209:1838f37a8d9e
user: Yury Selivanov <yselivanov at sprymix.com>
date: Sun Aug 02 16:49:31 2015 -0400
summary:
Revert da29a94367b2
files:
Lib/asyncio/tasks.py | 5 +++--
1 files changed, 3 insertions(+), 2 deletions(-)
diff --git a/Lib/asyncio/tasks.py b/Lib/asyncio/tasks.py
--- a/Lib/asyncio/tasks.py
+++ b/Lib/asyncio/tasks.py
@@ -249,8 +249,9 @@
result._blocking = False
result.add_done_callback(self._wakeup)
self._fut_waiter = result
- if self._must_cancel and self._fut_waiter.cancel():
- self._must_cancel = False
+ if self._must_cancel:
+ if self._fut_waiter.cancel():
+ self._must_cancel = False
else:
self._loop.call_soon(
self._step, None,
--
Repository URL: https://hg.python.org/cpython
More information about the Python-checkins
mailing list