-
-
Notifications
You must be signed in to change notification settings - Fork 33.2k
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 our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Merged
Merged
Changes from 9 commits
Commits
Show all changes
14 commits
Select commit
Hold shift + click to select a range
2b11fd2
gh-11599: Update whats news for free-threaded 3.14
corona10 4b87b5b
Add Ken Jin because he involves early design
corona10 e384e7a
Apply suggestions from code review
corona10 1b0d395
Update Doc/whatsnew/3.14.rst
corona10 90cbdaf
Merge branch 'main' into gh-11599-docs
corona10 c2d689d
Update Doc/whatsnew/3.14.rst
corona10 244d00c
Update Doc/whatsnew/3.14.rst
corona10 090a33e
Merge branch 'main' into gh-11599-docs
corona10 64a7af0
Update Doc/whatsnew/3.14.rst
corona10 2fdbac5
Update Doc/whatsnew/3.14.rst
corona10 920b493
Update Doc/whatsnew/3.14.rst
corona10 290149a
Wrap
corona10 3dd4d3f
wrap again
corona10 ce28d25
Add Edgar Margffoy
corona10 File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change | ||||||||||||||||||||||||||||||||||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
|
|
@@ -88,6 +88,7 @@ and improvements in user-friendliness and correctness. | |||||||||||||||||||||||||||||||||||||||||||
| * :ref:`PEP 758: Allow except and except* expressions without parentheses <whatsnew314-pep758>` | ||||||||||||||||||||||||||||||||||||||||||||
| * :ref:`PEP 761: Discontinuation of PGP signatures <whatsnew314-pep761>` | ||||||||||||||||||||||||||||||||||||||||||||
| * :ref:`PEP 765: Disallow return/break/continue that exit a finally block <whatsnew314-pep765>` | ||||||||||||||||||||||||||||||||||||||||||||
| * :ref:`Free-threaded mode improvements <whatsnew314-free-threaded-cpython>` | ||||||||||||||||||||||||||||||||||||||||||||
| * :ref:`PEP 768: Safe external debugger interface for CPython <whatsnew314-pep768>` | ||||||||||||||||||||||||||||||||||||||||||||
| * :ref:`PEP 784: Adding Zstandard to the standard library <whatsnew314-pep784>` | ||||||||||||||||||||||||||||||||||||||||||||
| * :ref:`A new type of interpreter <whatsnew314-tail-call>` | ||||||||||||||||||||||||||||||||||||||||||||
|
|
@@ -794,6 +795,18 @@ For further information on how to build Python, see | |||||||||||||||||||||||||||||||||||||||||||
| (Contributed by Ken Jin in :gh:`128563`, with ideas on how to implement this | ||||||||||||||||||||||||||||||||||||||||||||
| in CPython by Mark Shannon, Garrett Gu, Haoran Xu, and Josh Haberman.) | ||||||||||||||||||||||||||||||||||||||||||||
|
|
||||||||||||||||||||||||||||||||||||||||||||
| .. _whatsnew314-free-threaded-cpython: | ||||||||||||||||||||||||||||||||||||||||||||
|
|
||||||||||||||||||||||||||||||||||||||||||||
| Free-threaded mode | ||||||||||||||||||||||||||||||||||||||||||||
| --------------------- | ||||||||||||||||||||||||||||||||||||||||||||
|
|
||||||||||||||||||||||||||||||||||||||||||||
| 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. | ||||||||||||||||||||||||||||||||||||||||||||
corona10 marked this conversation as resolved.
Outdated
Show resolved
Hide resolved
|
||||||||||||||||||||||||||||||||||||||||||||
|
|
||||||||||||||||||||||||||||||||||||||||||||
| 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. | |
| 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:-)
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Uh oh!
There was an error while loading. Please reload this page.