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.

classification
Title: -X frozen_modules not defaulting to "off" on Windows when running in source tree?
Type: behavior Stage:
Components: Interpreter Core Versions: Python 3.11
process
Status: open Resolution:
Dependencies: Superseder:
Assigned To: Nosy List: FFY00, eric.snow, gvanrossum
Priority: normal Keywords:

Created on 2021-10-28 17:09 by eric.snow, last changed 2022-04-11 14:59 by admin.

Messages (3)
msg405201 - (view) Author: Eric Snow (eric.snow) * (Python committer) Date: 2021-10-28 17:09
(forked from https://bugs.python.org/issue45020#msg404344)

On Mon, Oct 18, 2021 at 7:14 PM Guido van Rossum <report@bugs.python.org> wrote:
> I built on Windows with default options (PCbuild\build.bat) and it looks like the frozen modules are used by default even though I am running in the source directory. (I put a printf() call in unmarshal_frozen_code().)

We need to verify if this is still the case.  First we need to make sure there's a test that checks the default (both when running out of the source tree and when not).  I suspect the case Guido observed hasn't been fixed yet.
msg405730 - (view) Author: Eric Snow (eric.snow) * (Python committer) Date: 2021-11-04 15:52
maybe related: https://github.com/python/cpython/pull/29041#discussion_r734085599
msg405732 - (view) Author: Guido van Rossum (gvanrossum) * (Python committer) Date: 2021-11-04 16:04
Yes, that’s definitely the problem.
History
Date User Action Args
2022-04-11 14:59:51adminsetgithub: 89814
2021-11-04 16:04:32gvanrossumsetmessages: + msg405732
2021-11-04 15:52:35eric.snowsetmessages: + msg405730
2021-10-28 19:39:14gvanrossumsetnosy: + gvanrossum
2021-10-28 17:11:25eric.snowsettitle: -X frozen_modules not defaulting to "on" on Windows? -> -X frozen_modules not defaulting to "off" on Windows when running in source tree?
2021-10-28 17:09:35eric.snowcreate