According to the What's new in Python 3.13, you need a new Python binary to test it.
The free-threaded mode requires a different executable, usually called python3.13t or python3.13t.exe.
Using pyenv latest version to install Python, this should give you a virtual environment to test it (in most unix systems):
pyenv install 3.13t-dev
$HOME/.pyenv/versions/3.13t-dev/bin/python3.13t -m venv .venv
source .venv/bin/activate
You can check it with sys._is_gil_enabled()
python -c 'import sys; print(sys._is_gil_enabled())'
# you should get 'False'
Answer from Caio Salgado on Stack Overflow Top answer 1 of 3
7
According to the What's new in Python 3.13, you need a new Python binary to test it.
The free-threaded mode requires a different executable, usually called python3.13t or python3.13t.exe.
Using pyenv latest version to install Python, this should give you a virtual environment to test it (in most unix systems):
pyenv install 3.13t-dev
$HOME/.pyenv/versions/3.13t-dev/bin/python3.13t -m venv .venv
source .venv/bin/activate
You can check it with sys._is_gil_enabled()
python -c 'import sys; print(sys._is_gil_enabled())'
# you should get 'False'
2 of 3
2
Ubunt users can use:
sudo add-apt-repository ppa:deadsnakes
sudo apt-get update
sudo apt-get install python3.13-nogil
Videos
10:00
How Much FASTER Is Python 3.13 Without the GIL? - YouTube
04:04
How to get started with Python 3.13's free-threading |"no-GIL" ...
01:46
How to Disable GIL in Python3.13 | Free-threaded Python | 2MinutesPy ...
06:02
Python Without GIL? Discover the Free-Threaded Mode in Python 3.13 ...
08:45
Python 3.13 release: bye GIL, hi JIT, new REPL! - YouTube
Medium
medium.com › @mitesh.singh.jat › gil-becomes-optional-in-python-3-13-a-game-changer-for-multithreading-4c5d28856803
GIL Becomes Optional in Python 3.13: A Game-Changer for Multithreading! | by Mitesh Singh Jat | Medium
August 14, 2024 - In the world of programming, concurrency is a crucial aspect to improve the performance of your applications. In Python, the Global Interpreter Lock (GIL) has been a major hurdle in achieving true concurrency. However, with the upcoming release of Python 3.13, the GIL becomes optional!
Flyaps
flyaps.com › the first ever no-gil python: what’s new in python 3.13?
The First Ever No-GIL Python: What’s New in Python 3.13?
September 29, 2025 - Therefore, I disagree with those who say that the GIL is terrible and should never have been added. No, I don't think so. The reason Python became successful is that it has the GIL." Eight years on from those remarks, it is clear that Python is moving towards the removal of the GIL.
Python
peps.python.org › pep-0703
PEP 703 – Making the Global Interpreter Lock Optional in CPython | peps.python.org
The --disable-gil builds of CPython will still support optionally running with the GIL enabled at runtime (see PYTHONGIL Environment Variable and Py_mod_gil Slot). Removing the global interpreter lock requires substantial changes to CPython internals, but relatively few changes to the public Python and C APIs.
Geek Python
geekpython.in › how-to-disable-gil-in-python
How to Disable GIL in Python 3.13?
October 10, 2024 - First, download the official Python 3.13 on your local machine. Then proceed to install the Python executable file. Follow the steps just as you install any Python version, you will see a step in which you are asked to choose the advanced installation options. Now select the checkbox appearing at the end, this will install the different executable Python build with the name python3.13t or python3.13t.exe. This will allow you to optionally disable or enable GIL in the runtime.
Python documentation
docs.python.org › 3 › whatsnew › 3.13.html
What’s New In Python 3.13
February 24, 2026 - CPython now has experimental support for running in a free-threaded mode, with the global interpreter lock (GIL) disabled. This is an experimental feature and therefore is not enabled by default. The free-threaded mode requires a different executable, usually called python3.13t or python3.13t.exe.
Medium
medium.com › @surajbahuguna1 › python-3-13-is-here-and-the-gil-is-almost-gone-fea223df4faf
Python 3.13 is Here, and the GIL is (Almost) Gone! | by Suraj (IIT Delhi) | Medium
October 14, 2024 - Python 3.13 has arrived, and with it, a game-changing feature that has long been the subject of heated discussions in the developer community: the removal of the Global Interpreter Lock (GIL). Yes, you read that right! The GIL-free Python era has finally begun, and it’s opening the door to true multi-threading, something developers have craved for years.
Towards Data Science
towardsdatascience.com › home › latest › python 3.14 and the end of the gil
Python 3.14 and the End of the GIL | Towards Data Science
October 18, 2025 - In this article, we discuss a potentially groundbreaking feature of the latest Python 3.14 release: the introduction of an optional “free-threaded” version, which removes the Global Interpreter Lock (GIL). The GIL is a mechanism in standard Python that simplifies memory management by ensuring only one thread executes Python bytecode at a time.