Christian Heimes added the comment: The site and sysconfig module are too intermingled to remove the import of sysconfig from the site module. However the sysconfig module doesn't use the re module in most cases anymore. The parsing functions for Makefile and pyconfig.h are only used by distutils.
The patch moves "import re" inside three functions. ---------- Added file: http://bugs.python.org/file32023/sysconfig_delay_re.patch _______________________________________ Python tracker <rep...@bugs.python.org> <http://bugs.python.org/issue19205> _______________________________________ _______________________________________________ Python-bugs-list mailing list Unsubscribe: https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com