[issue9964] Test failures with -OO
report at bugs.python.org
Tue Sep 28 00:47:31 CEST 2010
Michael Foord <michael at voidspace.org.uk> added the comment:
Most of the failures are caused by a problem in pdb.
In fact, if you run Python with -OO you can't even *import* pdb.
The attached patch fixes that problem (a hasty and untested patch though), and that reduces the number of failures to 5:
5 tests failed:
test_compileall test_dis test_import test_lib2to3 test_xml_etre
Added file: http://bugs.python.org/file19036/pdb.diff
Python tracker <report at bugs.python.org>
More information about the Python-bugs-list