Skip to content

Commit 14689ce

Browse files
committed
Add more docs on free-threaded Python
1 parent 36cf67e commit 14689ce

1 file changed

Lines changed: 8 additions & 0 deletions

File tree

lib/pythonx.ex

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -54,6 +54,14 @@ defmodule Pythonx do
5454
> `System.put_env/2` and similar. If you want to mirror certain env
5555
> vars, you need to set them on `os.environ` using `Pythonx.eval/2`.
5656
57+
> #### Free-threaded Python {: .info}
58+
>
59+
> Since Python 3.14, there is an official free-threaded Python build,
60+
> which eliminates GIL and its caveats referred to throughout this
61+
> documentation. To use a free-threaded build, you can specify an
62+
> appropriate Python version variant using the `:python` option, for
63+
> example `Pythonx.uv_init(..., python: "3.14t")`.
64+
5765
## Options
5866
5967
* `:force` - if true, runs with empty project cache. Defaults to `false`.

0 commit comments

Comments
 (0)