Amaury Forgeot d'Arc <[email protected]> added the comment: This test is wrong:: if (!PyBool_Check(test_var) && test_var == Py_False) the second part is never executed. if (test_var != Py_False) is enough to test the return value.
---------- _______________________________________ Python tracker <[email protected]> <http://bugs.python.org/issue10880> _______________________________________ _______________________________________________ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
