[Python-checkins] bpo-38321: Fix _asynciomodule.c compiler warning (GH-16493)

Victor Stinner webhook-mailer at python.org
Mon Sep 30 10:41:40 EDT 2019


https://github.com/python/cpython/commit/efe74b6369a8d08f27c69703fcc1686966e51068
commit: efe74b6369a8d08f27c69703fcc1686966e51068
branch: master
author: Victor Stinner <vstinner at redhat.com>
committer: GitHub <noreply at github.com>
date: 2019年09月30日T16:41:34+02:00
summary:
bpo-38321: Fix _asynciomodule.c compiler warning (GH-16493)
bpo-38248, bpo-38321: Fix warning:
 modules\_asynciomodule.c(2667):
 warning C4102: 'set_exception': unreferenced label
The related goto has been removed by
commit edad4d89e357c92f70c0324b937845d652b20afd.
files:
M Modules/_asynciomodule.c
diff --git a/Modules/_asynciomodule.c b/Modules/_asynciomodule.c
index 8ee0d7a7e14c..b67afd41768f 100644
--- a/Modules/_asynciomodule.c
+++ b/Modules/_asynciomodule.c
@@ -2657,7 +2657,6 @@ task_step_impl(TaskObj *task, PyObject *exc)
 /* Some other exception; pop it and call Task.set_exception() */
 PyErr_Fetch(&et, &ev, &tb);
 
-set_exception:
 assert(et);
 if (!ev || !PyObject_TypeCheck(ev, (PyTypeObject *) et)) {
 PyErr_NormalizeException(&et, &ev, &tb);


More information about the Python-checkins mailing list

AltStyle によって変換されたページ (->オリジナル) /