-
-
Notifications
You must be signed in to change notification settings - Fork 32k
Custom frozen modules get ignored. #89559
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Comments
Recently we added the "-X frozen_modules" CLI option to control whether or not (non-essential) frozen modules get used. Currently the default is "off", though the plan is to make the default "on". Regardless, this is problematic for executables with custom frozen modules (where PyImport_FrozenModules is overridden). If there are custom frozen modules then they should always be used. Note that there are already other problems with custom frozen modules, to be addressed separately. (See bpo-45395.) |
(This was motivated by #28633 (comment).) |
I'm not convinced by the comment you linked to. It seems Brett is referring to the case where at the C level someone overrides |
The behavior has been addressed in the fix for bpo-45395. However, I'd like to change the name of the -X option from "frozen_modules" to "frozen_stdlib", to avoid any confusion in the future. After that this issue is done. |
Do we still want to pursue this? I don't think we should change the name as it is been this way for the past beta and alphas. |
Agreed, let's not change this. Closing as "fixed" because everything else is taken care of. |
I assume this implies also closing the linked open PR. I'm marking it as pending close. |
Yes please. |
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:
bugs.python.org fields:
The text was updated successfully, but these errors were encountered: