On Tue, Sep 28, 2021 at 6:55 AM Eric V. Smith <[email protected]> wrote: > As a compromise, how about go with #1, but print a warning if python > detects that it's not built with optimizations or is run from a source > tree (the conditions in #2 and #3)? The warning could suggest running > with "-X frozen_modules=off". I realize that it will probably be ignored > over time, but maybe it will provide enough of a reminder if someone is > debugging and sees the warning.
Yeah, that would probably be sufficient (and much simpler). I'll try it out. -eric _______________________________________________ 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/EFNVXABK36DTKO6IDFC2PTP6P4OHM46B/ Code of Conduct: http://python.org/psf/codeofconduct/
