Zachary Ware added the comment: Thanks for the report, Claudiu. I went with a simpler fix, just comparing Py_OptimizeFlag with sys.flags.optimize. That way, we don't care if we're running as -O, -OO, or -OOO, the test will always test against the correct value.
---------- assignee: -> zach.ware resolution: -> fixed stage: patch review -> resolved status: open -> closed versions: +Python 3.4 _______________________________________ Python tracker <rep...@bugs.python.org> <http://bugs.python.org/issue21829> _______________________________________ _______________________________________________ Python-bugs-list mailing list Unsubscribe: https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com