Skip to content

Commit 53146a4

Browse files
committed
Add missing faulthandler.enable
1 parent 00ead38 commit 53146a4

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)