[pypy-commit] pypy py3.5: We can't really do anything without the '_struct' module

arigo pypy.commits at gmail.com
Tue Sep 13 10:29:17 EDT 2016


Author: Armin Rigo <arigo at tunes.org>
Branch: py3.5
Changeset: r87075:82928531a68e
Date: 2016-09-13 16:21 +0200
http://bitbucket.org/pypy/pypy/changeset/82928531a68e/

Log:	We can't really do anything without the '_struct' module

diff --git a/pypy/bin/pyinteractive.py b/pypy/bin/pyinteractive.py
--- a/pypy/bin/pyinteractive.py
+++ b/pypy/bin/pyinteractive.py
@@ -81,6 +81,7 @@
         error.RECORD_INTERPLEVEL_TRACEBACK = True
     # --allworkingmodules takes really long to start up, but can be forced on
     config.objspace.suggest(allworkingmodules=False)
+    config.objspace.usemodules.struct = True
     if config.objspace.allworkingmodules:
         pypyoption.enable_allworkingmodules(config)
     if config.objspace.usemodules._continuation:


More information about the pypy-commit mailing list