This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

Title: Replace /Ox with /O2
Type: enhancement Stage: resolved
Components: Distutils Versions: Python 3.9
Status: closed Resolution: out of date
Dependencies: Superseder:
Assigned To: Nosy List: Kojoley, dstufft, eric.araujo, steve.dower
Priority: normal Keywords: patch

Created on 2019-08-08 17:14 by Kojoley, last changed 2022-04-11 14:59 by admin. This issue is now closed.

Pull Requests
URL Status Linked Edit
PR 15179 closed Kojoley, 2019-08-08 17:14
Messages (3)
msg349243 - (view) Author: Nikita Kniazev (Kojoley) * Date: 2019-08-08 17:14
The /O2 is a superset of /Ox with additional /GF and /Gy switches
which enables strings and functions deduplication and almost always
are favorable optimizations without downsides.
msg351507 - (view) Author: Steve Dower (steve.dower) * (Python committer) Date: 2019-09-09 15:50
Given the potential compatibility impact (small chance of third-party extensions relying on function aliasing), I'd like to see an update to Docs/whatsnew/3.9.rst as well.

Also the suggested change to the NEWS entry is good. I don't think this one should pass completely silently.
msg386274 - (view) Author: Steve Dower (steve.dower) * (Python committer) Date: 2021-02-03 18:10
Distutils is now deprecated (see PEP 632) and all tagged issues are being closed. From now until removal, only release blocking issues will be considered for distutils.

If this issue does not relate to distutils, please remove the component and reopen it. If you believe it still requires a fix, most likely the issue should be re-reported at
Date User Action Args
2022-04-11 14:59:18adminsetgithub: 81975
2021-02-03 18:10:29steve.dowersetstatus: open -> closed
resolution: out of date
messages: + msg386274

stage: patch review -> resolved
2019-09-09 15:50:24steve.dowersetnosy: + steve.dower

messages: + msg351507
versions: + Python 3.9
2019-08-08 17:14:44Kojoleysetkeywords: + patch
stage: patch review
pull_requests: + pull_request14910
2019-08-08 17:14:02Kojoleycreate