Alexander Belopolsky added the comment: I have added more tests as Neal suggested. See unreachable-code-with- tests.diff for a combined patch. I've rerun all tests after removing .pyc files and also with -O option (ensuring no existing .pyo files as well). All works.
I've removed #if 0 block and changed "Verify" to "Ensure" in the RETURN_VALUE comment. Paul, maybe you and add an explanation why the added RETURN_VALUE will always be eliminated. I am not sure when python produces code with no terminating RETURN_VALUE in the first place. Added file: http://bugs.python.org/file9559/unreachable-code-with-tests.diff __________________________________ Tracker <[EMAIL PROTECTED]> <http://bugs.python.org/issue1394> __________________________________ _______________________________________________ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com