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.

Author gvanrossum
Recipients eric.snow, gvanrossum
Date 2022-03-14.22:25:32
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1647296732.49.0.681504882715.issue47017@roundup.psfhosted.org>
In-reply-to
Content
At least on Windows and macOS, this repro shows that frozen modules are on in a dev build:

Mac:

~/cpython$ ./python.exe -c 'import os; print(os._exists.__code__)'
<code object _exists at 0x10dec7ee0, file "<frozen os>", line 41>

~/cpython$ ./python.exe -Xfrozen_modules=off -c 'import os; print(os._exists.__code__)'
<code object _exists at 0x10e851b50, file "/Users/guido/cpython/Lib/os.py", line 41>

On Windows, the same except use .\python.bat.
History
Date User Action Args
2022-03-14 22:25:32gvanrossumsetrecipients: + gvanrossum, eric.snow
2022-03-14 22:25:32gvanrossumsetmessageid: <1647296732.49.0.681504882715.issue47017@roundup.psfhosted.org>
2022-03-14 22:25:32gvanrossumlinkissue47017 messages
2022-03-14 22:25:32gvanrossumcreate