[pypy-commit] pypy py3k-faulthandler: fix
arigo
pypy.commits at gmail.com
Fri Sep 23 16:43:19 EDT 2016
Author: Armin Rigo <arigo at 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()
""")
More information about the pypy-commit
mailing list