[issue19531] Loading -OO bytecode files if -O was requested can lead to problems
Serhiy Storchaka
report at bugs.python.org
Sat Nov 9 10:09:07 CET 2013
Serhiy Storchaka added the comment:
Some tests fail when ran with -OO and then with -O. Short example (there are more examples):
$ rm -rf Lib/test/__pycache__
$ ./python -OO -m test.regrtest test_property
[1/1] test_property
1 test OK.
$ ./python -O -m test.regrtest test_property
[1/1] test_property
test test_property failed -- multiple errors occurred; run in verbose mode for details
1 test failed:
test_property
----------
components: +Tests
nosy: +serhiy.storchaka, skrah
type: enhancement -> behavior
versions: +Python 2.7, Python 3.4
_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue19531>
_______________________________________
More information about the Python-bugs-list
mailing list