Author: Ram Rachum <[email protected]>
Branch: py3.6
Changeset: r97011:522da302c3c6
Date: 2019-07-20 11:11 +0300
http://bitbucket.org/pypy/pypy/changeset/522da302c3c6/
Log: Add more stubs to faulthandler.py
These are needed to run Pytest on PyPy3 on Windows.
diff --git a/lib_pypy/faulthandler.py b/lib_pypy/faulthandler.py
--- a/lib_pypy/faulthandler.py
+++ b/lib_pypy/faulthandler.py
@@ -5,5 +5,14 @@
def enable(*args, **kwargs):
pass
+def disable(*args, **kwargs):
+ pass
+
+def is_enabled(*args, **kwargs):
+ return True
+
def register(*args, **kwargs):
pass
+
+def cancel_dump_traceback_later(*args, **kwargs):
+ pass
_______________________________________________
pypy-commit mailing list
[email protected]
https://mail.python.org/mailman/listinfo/pypy-commit