Skip to content

Commit 2b53664

Browse files
committed
build: include gil/nogil in the version banner
1 parent da1682f commit 2b53664

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

igor.py

+3
Original file line numberDiff line numberDiff line change
@@ -321,6 +321,9 @@ def print_banner(label):
321321
if rev:
322322
version += f" (rev {rev})"
323323

324+
gil = "gil" if getattr(sys, '_is_gil_enabled', lambda: True)() else "nogil"
325+
version += f" ({gil})"
326+
324327
try:
325328
which_python = os.path.relpath(sys.executable)
326329
except ValueError:

0 commit comments

Comments
 (0)