[Python-Dev] Re: The Default for python -X frozen_modules.

2021年9月27日 11:37:53 -0700

On 9/27/2021 7:15 PM, Ethan Furman wrote:
On 9/27/21 10:50 AM, Guido van Rossum wrote:
> So my *actual* proposal (call it #2') is to use a separate compile-time flag, which is set by `./configure > --enable-optimizations` regardless of whether PGO/LTO are possible, and which on Windows can be set by > `PCbuild\build.bat --pgo` (we could add another flag to disable it, but who'd want to?). I think a configure-time flag is the way to go, and I'm happy to have it included with --enable-optimizations.
Having it be implied by an "--enable-optimizations" option is totally fine (and we'd add one to build.bat for this), but I still think it needs to be discoverable later whether the frozen modules build option was used or not, independent of other build options.
Cheers,
Steve
_______________________________________________
Python-Dev mailing list -- [email protected]
To unsubscribe send an email to [email protected]
https://mail.python.org/mailman3/lists/python-dev.python.org/
Message archived at 
https://mail.python.org/archives/list/[email protected]/message/QU6H2GS6S4MD7WTDI2Y6BLP46MXJRVFG/
Code of Conduct: http://python.org/psf/codeofconduct/

Reply via email to