[Python-checkins] bpo-32688: Make why the line is commented out clear (GH-5405)

Xiang Zhang webhook-mailer at python.org
Sun Jan 28 22:32:15 EST 2018


https://github.com/python/cpython/commit/997478eb797b31bd724135ca17781d1cf4b89cfa
commit: 997478eb797b31bd724135ca17781d1cf4b89cfa
branch: master
author: Xiang Zhang <angwerzx at 126.com>
committer: GitHub <noreply at github.com>
date: 2018-01-29T11:32:12+08:00
summary:

bpo-32688: Make why the line is commented out clear (GH-5405)

files:
M Python/ceval.c

diff --git a/Python/ceval.c b/Python/ceval.c
index 3d7bed0111b2..128ec2c00454 100644
--- a/Python/ceval.c
+++ b/Python/ceval.c
@@ -3525,7 +3525,7 @@ _PyEval_EvalFrameDefault(PyFrameObject *f, int throwflag)
                                 tstate, f,
                                 PyTrace_RETURN, retval)) {
                 Py_CLEAR(retval);
-                /* why = WHY_EXCEPTION; */
+                /* why = WHY_EXCEPTION; useless yet but cause compiler warnings */
             }
         }
     }



More information about the Python-checkins mailing list