You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
frozen modules are on by default in dev buildย #91173
Note: these values reflect the state of the issue at the time it was migrated and might not reflect the current state.
Show more details
GitHub fields:
assignee=Noneclosed_at=Nonecreated_at=<Date2022-03-14.22:25:32.472>labels= ['type-bug', '3.11']
title='frozen modules are on by default in dev build'updated_at=<Date2022-03-14.22:25:59.205>user='https://github.com/gvanrossum'
Activity
gvanrossum commentedon Mar 14, 2022
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.
pythonGH-91173: disable frozen modules in debug builds
GH-91173: disable frozen modules in debug builds (#92023)