[issue8605] test_gdb can fail with compiler opts

Antoine Pitrou report at bugs.python.org
Wed Jul 7 15:09:05 CEST 2010


Antoine Pitrou <pitrou at free.fr> added the comment:

> Minor nit: given that final_opt is set to "" at the start of the loop, > the first conditional in:
>     if final_opt and final_opt != '-O0':
> appears to be redundant.

I don't think it is (the empty string is false, but "" != "-O0" is true).

----------
nosy: +loewis

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


More information about the Python-bugs-list mailing list