File tree 1 file changed +6
-6
lines changed
1 file changed +6
-6
lines changed Original file line number Diff line number Diff line change @@ -547,12 +547,12 @@ Glossary
547
547
tasks such as compression or hashing. Also, the GIL is always released
548
548
when doing I/O.
549
549
550
- Past efforts to create a "free-threaded" interpreter (one which locks
551
- shared data at a much finer granularity) have not been successful
552
- because performance suffered in the common single-processor case. It
553
- is believed that overcoming this performance issue would make the
554
- implementation much more complicated and therefore costlier to maintain.
555
-
550
+ As of Python 3.13, the GIL can be disabled using the :option: ` --disable-gil `
551
+ build configuration. After building Python with this option, code must be
552
+ run with :option: ` -X gil 0 <-X> ` or after setting the :envvar: ` PYTHON_GIL=0 <PYTHON_GIL> `
553
+ environment variable. This feature enables improved performance for
554
+ multi-threaded applications and makes it easier to use multi-core CPUs
555
+ efficiently. For more details, see :pep: ` 703 `.
556
556
557
557
hash-based pyc
558
558
A bytecode cache file that uses the hash rather than the last-modified
You can’t perform that action at this time.
0 commit comments