[Python-checkins] cpython (merge 3.6 -> default): Merge (asyncio)
yury.selivanov
python-checkins at python.org
Thu Sep 15 13:37:44 EDT 2016
https://hg.python.org/cpython/rev/4d56c9840972
changeset: 103822:4d56c9840972
parent: 103820:54d57451de52
parent: 103821:82363ff1eaab
user: Yury Selivanov <yury at magic.io>
date: Thu Sep 15 13:35:59 2016 -0400
summary:
Merge (asyncio)
files:
Lib/asyncio/coroutines.py | 5 +----
1 files changed, 1 insertions(+), 4 deletions(-)
diff --git a/Lib/asyncio/coroutines.py b/Lib/asyncio/coroutines.py
--- a/Lib/asyncio/coroutines.py
+++ b/Lib/asyncio/coroutines.py
@@ -276,10 +276,7 @@
try:
coro_code = coro.gi_code
except AttributeError:
- try:
- coro_code = coro.cr_code
- except AttributeError:
- return repr(coro)
+ coro_code = coro.cr_code
try:
coro_frame = coro.gi_frame
--
Repository URL: https://hg.python.org/cpython
More information about the Python-checkins
mailing list