Author: Armin Rigo <ar...@tunes.org>
Branch: py3k-faulthandler
Changeset: r87351:25ae97b49316
Date: 2016-09-23 22:42 +0200
http://bitbucket.org/pypy/pypy/changeset/25ae97b49316/

Log:    fix

diff --git a/pypy/module/faulthandler/handler.py 
b/pypy/module/faulthandler/handler.py
--- a/pypy/module/faulthandler/handler.py
+++ b/pypy/module/faulthandler/handler.py
@@ -80,11 +80,10 @@
         if not space.contains(w_options, space.wrap('faulthandler')):
             return
     #
-    # Like CPython.  Why not just call enable(space)?  Maybe the goal is
-    # to let the user override the 'faulthandler' module.  Maybe someone
+    # Like CPython.  Why not just call enable(space)?  Maybe someone
     # mis-uses ``"faulthandler" in sys.modules'' as a way to check if it
     # was started by checking if it was imported at all.
-    space.appexec([], """
+    space.appexec([], """():
         import faulthandler
         faulthandler.enable()
     """)
_______________________________________________
pypy-commit mailing list
pypy-commit@python.org
https://mail.python.org/mailman/listinfo/pypy-commit

Reply via email to