Uh oh!
There was an error while loading.Please reload this page.
- Notifications
You must be signed in to change notification settings - Fork32k
gh-115999: Note Python 3.14 free-threaded changes in What's New#131285
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to ourterms of service andprivacy statement. We’ll occasionally send you account related emails.
Already on GitHub?Sign in to your account
Uh oh!
There was an error while loading.Please reload this page.
Conversation
Doc/whatsnew/3.14.rst Outdated
and 10-15% slower than the default build. | ||
This work was done by many contributors, Matt Page, Neil Schemenauer, | ||
Sam Gross, Thomas Wouters, Donghee Na, Kirill Podoprigora and Ken Jin. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others.Learn more.
I also added the@Fidget-Spinner, because I remember his early design involvation while he worked at Quansight.
Fidget-SpinnerMar 15, 2025 • edited
Loading Uh oh!
There was an error while loading.Please reload this page.
edited
Uh oh!
There was an error while loading.Please reload this page.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others.Learn more.
I think the main thing I did that is coming in 3.14 is the stackrefs. But we needed that for the intepreter anyways so it probably counts? Either way I can be left out if the others feel inclined to.
corona10 commentedMar 15, 2025 • edited
Loading Uh oh!
There was an error while loading.Please reload this page.
edited
Uh oh!
There was an error while loading.Please reload this page.
Anyway, feel free to propose change as same as what we did for 3.13. |
Uh oh!
There was an error while loading.Please reload this page.
Uh oh!
There was an error while loading.Please reload this page.
Uh oh!
There was an error while loading.Please reload this page.
Uh oh!
There was an error while loading.Please reload this page.
Uh oh!
There was an error while loading.Please reload this page.
Co-authored-by: Stan Ulbrych <89152624+StanFromIreland@users.noreply.github.com>
Co-authored-by: Stan Ulbrych <89152624+StanFromIreland@users.noreply.github.com>
@Yhg1s Do you have suggestions for this What's News? I think that you can modify more properly :) |
Uh oh!
There was an error while loading.Please reload this page.
Uh oh!
There was an error while loading.Please reload this page.
Co-authored-by: T. Wouters <thomas@python.org>
Co-authored-by: T. Wouters <thomas@python.org>
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others.Learn more.
Lines need to be wrapped to 80 chars.
Impossible to review at the moment
Uh oh!
There was an error while loading.Please reload this page.
Co-authored-by: Stan Ulbrych <89152624+StanFromIreland@users.noreply.github.com>
Uh oh!
There was an error while loading.Please reload this page.
Doc/whatsnew/3.14.rst Outdated
Free-threaded mode (:pep:`703`), initially added in 3.13, has been significantly improved. The implementation described in PEP 703 was finished, including C API changes, and temporary workarounds in the interpreter were replaced with more permanent solutions. The specializing adaptive interpreter (:pep:`659`) is now enabled in free-threaded mode, which along with many other optimizations greatly improves its performance. The performance penalty on single-threaded code in free-threaded mode is now roughly 5-10%, depending on platform and C compiler used. | ||
This work was done by many contributors: Sam Gross, Matt Page, Neil Schemenauer, Thomas Wouters, Donghee Na, Kirill Podoprigora, Ken Jin, Itamar Oren, Brett Simmers, Dino Viehland, Nathan Goldbaum, Ralf Gommers, | ||
Lysandros Nikolaou, and many others. | ||
Some of these contributors are employed by Meta, which has continued to provide significant engineering resources to support this project. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others.Learn more.
Free-threaded mode (:pep:`703`), initially added in 3.13, has been significantly improved. The implementation described in PEP 703 was finished, including C API changes, and temporary workarounds in the interpreter were replaced with more permanent solutions. The specializing adaptive interpreter (:pep:`659`) is now enabled in free-threaded mode, which along with many other optimizations greatly improves its performance. The performance penalty on single-threaded code in free-threaded mode is now roughly 5-10%, depending on platform and C compiler used. | |
This work was done by many contributors: Sam Gross, Matt Page, Neil Schemenauer, Thomas Wouters, Donghee Na, Kirill Podoprigora, Ken Jin, Itamar Oren, Brett Simmers, Dino Viehland, Nathan Goldbaum, Ralf Gommers, | |
Lysandros Nikolaou, and many others. | |
Some of these contributors are employed by Meta, which has continued to provide significant engineering resources to support this project. | |
Free-threaded mode (:pep:`703`), initially added in 3.13, has been significantly | |
improved. The implementation described in PEP 703 was finished, including C API | |
changes, and temporary workarounds in the interpreter were replaced with more | |
permanent solutions. The specializing adaptive interpreter (:pep:`659`) is now | |
enabled in free-threaded mode, which along with many other optimizations | |
greatly improves its performance. The performance penalty on single-threaded | |
code in free-threaded mode is now roughly 5-10%, depending on platform and C | |
compiler used. | |
This work was done by many contributors: Sam Gross, Matt Page, Neil Schemenauer, | |
Thomas Wouters, Donghee Na, Kirill Podoprigora, Ken Jin, Itamar Oren, Brett Simmers, | |
Dino Viehland, Nathan Goldbaum, Ralf Gommers, Lysandros Nikolaou, and many others. | |
Some of these contributors are employed by Meta, which has continued to provide | |
significant engineering resources to support this project. |
Wrapped it for you:-)
Uh oh!
There was an error while loading.Please reload this page.
Co-authored-by: mpage <mpage@cs.stanford.edu>
Co-authored-by: Stan Ulbrych <89152624+StanFromIreland@users.noreply.github.com>
Doc/whatsnew/3.14.rst Outdated
Free-threaded mode (:pep:`703`), initially added in 3.13, has been significantly improved. The implementation described in PEP 703 was finished, including C API changes, and temporary workarounds in the interpreter were replaced with more permanent solutions. The specializing adaptive interpreter (:pep:`659`) is now enabled in free-threaded mode, which along with many other optimizations greatly improves its performance. The performance penalty on single-threaded code in free-threaded mode is now roughly 5-10%, depending on platform and C compiler used. | ||
This work was done by many contributors: Sam Gross, Matt Page, Neil Schemenauer, Thomas Wouters, Donghee Na, Kirill Podoprigora, Ken Jin, Itamar Oren, Brett Simmers, Dino Viehland, Nathan Goldbaum, Ralf Gommers, | ||
Lysandros Nikolaou, Kumar Aditya, and many others. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others.Learn more.
Can you add Edgar Margffoy as well please? We forgot him in the 3.13 notes I think
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others.Learn more.
Done!
f28cbc9
intopython:mainUh oh!
There was an error while loading.Please reload this page.
Thanks@corona10 for the PR 🌮🎉.. I'm working now to backport this PR to: 3.14. |
…pythongh-131285)---------(cherry picked from commitf28cbc9)Co-authored-by: Donghee Na <donghee.na@python.org>Co-authored-by: Stan Ulbrych <89152624+StanFromIreland@users.noreply.github.com>Co-authored-by: T. Wouters <thomas@python.org>Co-authored-by: mpage <mpage@cs.stanford.edu>
GH-133824 is a backport of this pull request to the3.14 branch. |
gh-131285) (gh-133824)gh-115999: Note Python 3.14 free-threaded changes in What's New (gh-131285)---------(cherry picked from commitf28cbc9)Co-authored-by: Donghee Na <donghee.na@python.org>Co-authored-by: Stan Ulbrych <89152624+StanFromIreland@users.noreply.github.com>Co-authored-by: T. Wouters <thomas@python.org>Co-authored-by: mpage <mpage@cs.stanford.edu>
Uh oh!
There was an error while loading.Please reload this page.
📚 Documentation preview 📚:https://cpython-previews--131285.org.readthedocs.build/
--disable-gil
builds #115999