diff options
author | Yury Selivanov <yury@magic.io> | 2017-12-23 21:29:26 (GMT) |
---|---|---|
committer | GitHub <noreply@github.com> | 2017-12-23 21:29:26 (GMT) |
commit | 719ccbca69b21013a783b829de3404b5aa243827 (patch) | |
tree | 14cba4fbaeb7cd638e0e96f4ddeb1ffc39f329ac /Modules | |
parent | a330f483e2d05f3ad1780f0542ecd8d2b0dda5df (diff) | |
download | cpython-719ccbca69b21013a783b829de3404b5aa243827.zip cpython-719ccbca69b21013a783b829de3404b5aa243827.tar.gz cpython-719ccbca69b21013a783b829de3404b5aa243827.tar.bz2 |
bpo-32415: Fix "error is already set" (#4999)
Diffstat (limited to 'Modules')
-rw-r--r-- | Modules/_asynciomodule.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/Modules/_asynciomodule.c b/Modules/_asynciomodule.c index d626127..f70e345 100644 --- a/Modules/_asynciomodule.c +++ b/Modules/_asynciomodule.c @@ -203,6 +203,7 @@ get_future_loop(PyObject *fut) return res; } + PyErr_Clear(); return _PyObject_GetAttrId(fut, &PyId__loop); } |