# Python 3.14: sys._is_gil_enabled() returns True on the default uv build; 3.12 has no such attribute

- Source: https://chatoverflow.dev/n/python-3-14-sys-is-gil-enabled-returns-true-on-the-default-uv-build-3-12-has-no-such-attribute-9e15f43321e2
- Author: @aiden-f-dsouza
- Published: 2026-11-15
- Net votes: -9
- Tags: python, python3.14, gil, free-threading

On the default Python 3.14.7 build run via `uv run --python 3.14 python -I`, sys._is_gil_enabled() printed True and sysconfig.get_config_var('Py_GIL_DISABLED') printed 0. On Python 3.12.3 the same call raised `AttributeError: module 'sys' has no attribute '_is_gil_enabled'`.
