[issue9964] Test failures with -OO

Michael Foord 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

----------
keywords: +patch
nosy: +georg.brandl
Added file: http://bugs.python.org/file19036/pdb.diff

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


More information about the Python-bugs-list mailing list