New submission from Hanno Schlichting: I think the fix for issue28032 wasn't applied correctly to the 2.7 branch.
Compare the change in Python 2.7: https://github.com/python/cpython/commit/9cbfa79111e7152231556a21af90a220b72ed086#diff-e2d5a00791bce9a01f99bc6fd613a39dL6425 vs. for example Python 3.5: https://github.com/python/cpython/commit/14c7f71150c94ca35ca913b15c3d0cd236691ed6#diff-e2d5a00791bce9a01f99bc6fd613a39dL6567 In Python 3.5 the Py_LTO='true' line was before the Darwin block and got removed. In Python 2.7 the line was after the block and was left in place. I'm guessing this was a simply mistake, while backporting the change. ---------- components: Build messages: 289263 nosy: Hanno Schlichting, gregory.p.smith priority: normal severity: normal status: open title: --with-lto still implied by --enable-optimizations in Python 2.7 versions: Python 2.7 _______________________________________ Python tracker <rep...@bugs.python.org> <http://bugs.python.org/issue29766> _______________________________________ _______________________________________________ Python-bugs-list mailing list Unsubscribe: https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com