[issue27703] Replace two Py_XDECREFs with Py_DECREFs in do_raise

Serhiy Storchaka report at bugs.python.org
Tue Aug 9 05:40:35 EDT 2016


Serhiy Storchaka added the comment:

do_raise_v2.patch (with asserts) LGTM. There are two ways that lead to this point (and third way leads to raising an exception), and additional assertions make the code clearer, because a reader shouldn't follow all these patch for reading the code after assertions.

----------

_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue27703>
_______________________________________


More information about the Python-bugs-list mailing list