Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

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

Merged
corona10 merged 14 commits intopython:mainfromcorona10:gh-11599-docs
May 10, 2025

Conversation

corona10
Copy link
Member

@corona10corona10 commentedMar 15, 2025
edited by bedevere-appbot
Loading

@bedevere-appbedevere-appbot added docsDocumentation in the Doc dir skip news awaiting core review labelsMar 15, 2025
@corona10corona10 changed the title gh-11599: Update whats news for free-threaded 3.14 gh-115999: Update whats news for free-threaded 3.14Mar 15, 2025
@corona10corona10 requested a review fromYhg1sMarch 15, 2025 14:09
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.
Copy link
MemberAuthor

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.

Copy link
Member

@Fidget-SpinnerFidget-SpinnerMar 15, 2025
edited
Loading

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
Copy link
MemberAuthor

corona10 commentedMar 15, 2025
edited
Loading

Anyway, feel free to propose change as same as what we did for 3.13.

corona10and others added3 commitsMarch 16, 2025 10:37
Co-authored-by: Stan Ulbrych <89152624+StanFromIreland@users.noreply.github.com>
Co-authored-by: Stan Ulbrych <89152624+StanFromIreland@users.noreply.github.com>
@corona10
Copy link
MemberAuthor

@Yhg1s Do you have suggestions for this What's News? I think that you can modify more properly :)

corona10and others added3 commitsMay 10, 2025 00:32
Co-authored-by: T. Wouters <thomas@python.org>
Co-authored-by: T. Wouters <thomas@python.org>
Copy link
Contributor

@StanFromIrelandStanFromIreland left a 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

Co-authored-by: Stan Ulbrych <89152624+StanFromIreland@users.noreply.github.com>
Comment on lines 803 to 808
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.
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others.Learn more.

Suggested change
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:-)

corona10and others added2 commitsMay 10, 2025 08:34
Co-authored-by: mpage <mpage@cs.stanford.edu>
Co-authored-by: Stan Ulbrych <89152624+StanFromIreland@users.noreply.github.com>
@AA-TurnerAA-Turner changed the title gh-115999: Update whats news for free-threaded 3.14 gh-115999: Note Python 3.14 free-threaded changes in What's NewMay 10, 2025
@AA-TurnerAA-Turner added the needs backport to 3.14bugs and security fixes labelMay 10, 2025
@corona10
Copy link
MemberAuthor

@Yhg1s@mpage If no update is needed, I will merge this in this weekend.

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.

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

Copy link
MemberAuthor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others.Learn more.

Done!

@pythonpython deleted a comment fromtrevorgraysonMay 10, 2025
@corona10corona10 merged commitf28cbc9 intopython:mainMay 10, 2025
24 checks passed
@miss-islington-app
Copy link

Thanks@corona10 for the PR 🌮🎉.. I'm working now to backport this PR to: 3.14.
🐍🍒⛏🤖

@github-project-automationgithub-project-automationbot moved this fromTodo toDone inDocs PRsMay 10, 2025
miss-islington pushed a commit to miss-islington/cpython that referenced this pull requestMay 10, 2025
…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>
@bedevere-app
Copy link

GH-133824 is a backport of this pull request to the3.14 branch.

@bedevere-appbedevere-appbot removed the needs backport to 3.14bugs and security fixes labelMay 10, 2025
@corona10corona10 deleted the gh-11599-docs branchMay 10, 2025 10:30
corona10 added a commit that referenced this pull requestMay 10, 2025
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>
Sign up for freeto join this conversation on GitHub. Already have an account?Sign in to comment
Reviewers

@mpagempagempage left review comments

@eendebakpteendebakpteendebakpt left review comments

@Yhg1sYhg1sYhg1s left review comments

@Fidget-SpinnerFidget-SpinnerFidget-Spinner left review comments

@ZeroIntensityZeroIntensityZeroIntensity left review comments

@StanFromIrelandStanFromIrelandStanFromIreland left review comments

@colesburycolesburyAwaiting requested review from colesbury

@itamaroitamaroAwaiting requested review from itamaro

Assignees
No one assigned
Labels
docsDocumentation in the Doc dirskip newstopic-free-threading
Projects
Status: Done
Milestone
No milestone
Development

Successfully merging this pull request may close these issues.

8 participants
@corona10@mpage@eendebakpt@Yhg1s@Fidget-Spinner@ZeroIntensity@StanFromIreland@AA-Turner

[8]ページ先頭

©2009-2025 Movatter.jp