Message400422
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? |
|
Date |
User |
Action |
Args |
2021-08-27 14:12:31 | Mark.Shannon | set | recipients:
+ Mark.Shannon, lemburg, gvanrossum, brett.cannon, ronaldoussoren, eric.snow |
2021-08-27 14:12:31 | Mark.Shannon | set | messageid: <1630073551.77.0.300849442543.issue45020@roundup.psfhosted.org> |
2021-08-27 14:12:31 | Mark.Shannon | link | issue45020 messages |
2021-08-27 14:12:31 | Mark.Shannon | create | |
|