Skip to content

Commit 1724f62

Browse files
committed
[GR-26776] Add missing faulthandler.enable
PullRequest: graalpython/1332
2 parents 3cf0e13 + 53146a4 commit 1724f62

File tree

1 file changed

+6
-0
lines changed

1 file changed

+6
-0
lines changed

graalpython/lib-graalpython/faulthandler.py

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -40,6 +40,12 @@
4040
_enabled = True
4141

4242

43+
@__graalpython__.builtin
44+
def enable(file=None, all_threads=True):
45+
global _enabled
46+
_enabled = True
47+
48+
4349
@__graalpython__.builtin
4450
def disable():
4551
global _enabled

0 commit comments

Comments
 (0)