Skip to content

Commit 44c353c

Browse files
committed
Remove unnecessary frozen modules
1 parent b4e6399 commit 44c353c

File tree

2 files changed

+7
-375
lines changed

2 files changed

+7
-375
lines changed

graalpython/com.oracle.graal.python.frozen/freeze_modules.py

Lines changed: 7 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -44,17 +44,20 @@
4444
('stdlib - startup, without site (python -S)', [
4545
'abc',
4646
'codecs',
47-
'<encodings.*>',
47+
# GraalPy change: don't freeze all the encodings, we have our own intrinsified encodings
48+
'<encodings>',
49+
'encodings.aliases',
4850
'io',
4951
]),
5052
('stdlib - startup, with site', [
5153
'_py_abc',
5254
'_weakrefset',
5355
'types',
5456
'enum',
55-
'sre_constants',
56-
'sre_parse',
57-
'sre_compile',
57+
# GraalPy change: don't freeze these, they are deprecated, CPython probably just forgot to remove them from here
58+
# 'sre_constants',
59+
# 'sre_parse',
60+
# 'sre_compile',
5861
'operator',
5962
'keyword',
6063
'heapq',

0 commit comments

Comments
 (0)