We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents 158dbe5 + 5bfba1d commit 622f650Copy full SHA for 622f650
src_py/_debug.py
@@ -76,6 +76,11 @@ def _get_platform_info():
76
)
77
78
ret += f"Python:\t\t\t{platform.python_implementation()} {sys.version}\n"
79
+ ret += (
80
+ f"GIL Enabled:\t\t{sys._is_gil_enabled()}\n"
81
+ if hasattr(sys, "_is_gil_enabled")
82
+ else "GIL Enabled:\t\tTrue\n"
83
+ )
84
ret += f"pygame version:\t\t{ver}\n"
85
return ret
86
0 commit comments