Public bug reported: If I execute `python3 -m sysconfig`, I can see all the options related to how Python was compiled. The problem is: Python now is compiled with '-O3' flag by default on upstream and also downstream, but for some reason the previously mentioned command shows '-O2'. It's because a line in d/rules that does the replacement, but I don't think we still need it since '-O3' is the default behavior. Keeping '-O2' instead of the real '-O2' is masking the real value, making the sysconfig module less trustworthy.
** Affects: python3.12 (Ubuntu) Importance: Undecided Status: New -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/2100624 Title: python3 -m sysconfig showing the wrong optimization flag To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/python3.12/+bug/2100624/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs