Permalink
Browse files

Remove _sre.c from the build.

On testing this, I discovered that the 'pickle' module pulls in 'struct'
and 'binascii', which is a few thousand lines of C code.
  • Loading branch information...
Andy Chu
Andy Chu committed Aug 19, 2018
1 parent 91a9c1d commit 9575b70e7cd08674a817e203304d6e0c6305f677
Showing with 1 addition and 2 deletions.
  1. +0 −1 build/compile.sh
  2. +1 −1 build/static-c-modules.txt
View
@@ -95,7 +95,6 @@ MODOBJS='
Modules/posixmodule.c
Modules/errnomodule.c
Modules/pwdmodule.c
Modules/_sre.c
Modules/_codecsmodule.c
Modules/_weakref.c
Modules/zipimport.c
@@ -9,8 +9,8 @@ posix posixmodule.c # posix (UNIX) system calls
errno errnomodule.c # posix (UNIX) errno values
pwd pwdmodule.c # this is needed to find out the user's home dir
# if $HOME is not set
_sre _sre.c # Fredrik Lundh's new regular expressions
_codecs _codecsmodule.c # access to the builtin codecs and codec registry
_weakref _weakref.c # weak references
# The zipimport module is always imported at startup. Having it as a

0 comments on commit 9575b70

Please sign in to comment.