Author Mark.Shannon
Recipients Mark.Shannon, brett.cannon, eric.snow, gvanrossum, lemburg, ronaldoussoren
Date 2021-08-27.14:12:31
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1630073551.77.0.300849442543.issue45020@roundup.psfhosted.org>
In-reply-to
Content
I don't recall, but...

You can't modify any builtin modules. Freezing modules effectively makes them builtin from a user's perspective. There are plenty of modules that can't be modified:

>>> sys.builtin_module_names
('_abc', '_ast', '_codecs', '_collections', '_functools', '_imp', '_io', '_locale', '_operator', '_signal', '_sre', '_stat', '_string', '_symtable', '_thread', '_tokenize', '_tracemalloc', '_warnings', '_weakref', 'atexit', 'builtins', 'errno', 'faulthandler', 'gc', 'itertools', 'marshal', 'posix', 'pwd', 'sys', 'time', 'xxsubtype')

I don't see why adding a few more modules to that list would be a problem.

Was the objection to feezing *all* modules, not just the core ones?
History
Date User Action Args
2021-08-27 14:12:31Mark.Shannonsetrecipients: + Mark.Shannon, lemburg, gvanrossum, brett.cannon, ronaldoussoren, eric.snow
2021-08-27 14:12:31Mark.Shannonsetmessageid: <1630073551.77.0.300849442543.issue45020@roundup.psfhosted.org>
2021-08-27 14:12:31Mark.Shannonlinkissue45020 messages
2021-08-27 14:12:31Mark.Shannoncreate