[issue45396] Custom frozen modules get ignored.

Guido van Rossum report at bugs.python.org
Mon Oct 11 20:01:17 EDT 2021


Guido van Rossum <guido at python.org> added the 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 `PyImport_FrozenModules` (a global in frozen.c) -- though it is never explicitly named in the thread. And that variable *is* ignored when the -X flag is set to off (at least, it is ignored when use_frozen() is false and we're not talking about an "essensial" frozen module; and I think use_frozen() corresponds to whether the -X flag is on or off, or its default). So I think the -X flag is named correctly.

----------
nosy: +gvanrossum

_______________________________________
Python tracker <report at bugs.python.org>
<https://bugs.python.org/issue45396>
_______________________________________


More information about the Python-bugs-list mailing list