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-134160: Block multiple module initialization#134773

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
AA-Turner merged 4 commits intopython:mainfromencukou:extending-exec-once
May 28, 2025

Conversation

encukou
Copy link
Member

@encukouencukou commentedMay 27, 2025
edited by github-actionsbot
Loading

Change the tutorial to block multiple module initialization, and note the reference leak.


📚 Documentation preview 📚:https://cpython-previews--134773.org.readthedocs.build/

@encukou
Copy link
MemberAuthor

There's a better way to do this, but module state might work better in Chapter 2?

neonene reacted with thumbs up emoji

Copy link
Member

@ZeroIntensityZeroIntensity left a comment

Choose a reason for hiding this comment

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

I just realized that we don't have any dedicated section on subinterpreters. I'd be happy to do that in a follow-up.

neonene and AA-Turner reacted with thumbs up emoji
encukouand others added2 commitsMay 27, 2025 17:38
Copy link
Member

@AA-TurnerAA-Turner left a comment

Choose a reason for hiding this comment

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

Two very minor suggestions, but otherwise let's get this merged quickly.

A

@AA-TurnerAA-Turner added needs backport to 3.13bugs and security fixes needs backport to 3.14bugs and security fixes labelsMay 27, 2025
Co-authored-by: Adam Turner <9087854+AA-Turner@users.noreply.github.com>
@AA-TurnerAA-Turner merged commit469a564 intopython:mainMay 28, 2025
24 checks passed
@github-project-automationgithub-project-automationbot moved this fromTodo toDone inDocs PRsMay 28, 2025
@miss-islington-app
Copy link

Thanks@encukou for the PR, and@AA-Turner for merging it 🌮🎉.. I'm working now to backport this PR to: 3.13, 3.14.
🐍🍒⛏🤖

miss-islington pushed a commit to miss-islington/cpython that referenced this pull requestMay 28, 2025
(cherry picked from commit469a564)Co-authored-by: Petr Viktorin <encukou@gmail.com>Co-authored-by: Adam Turner <9087854+AA-Turner@users.noreply.github.com>
miss-islington pushed a commit to miss-islington/cpython that referenced this pull requestMay 28, 2025
(cherry picked from commit469a564)Co-authored-by: Petr Viktorin <encukou@gmail.com>Co-authored-by: Adam Turner <9087854+AA-Turner@users.noreply.github.com>
@bedevere-app
Copy link

GH-134827 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 28, 2025
@bedevere-app
Copy link

GH-134828 is a backport of this pull request to the3.13 branch.

@bedevere-appbedevere-appbot removed the needs backport to 3.13bugs and security fixes labelMay 28, 2025
@encukouencukou deleted the extending-exec-once branchMay 28, 2025 07:56
AA-Turner added a commit that referenced this pull requestMay 28, 2025
…134827)gh-134160: Block multiple module initialization (GH-134773)(cherry picked from commit469a564)Co-authored-by: Petr Viktorin <encukou@gmail.com>Co-authored-by: Adam Turner <9087854+AA-Turner@users.noreply.github.com>
AA-Turner added a commit that referenced this pull requestMay 28, 2025
…134828)gh-134160: Block multiple module initialization (GH-134773)(cherry picked from commit469a564)Co-authored-by: Petr Viktorin <encukou@gmail.com>Co-authored-by: Adam Turner <9087854+AA-Turner@users.noreply.github.com>
Sign up for freeto join this conversation on GitHub. Already have an account?Sign in to comment
Reviewers

@ZeroIntensityZeroIntensityZeroIntensity left review comments

@neoneneneoneneneonene left review comments

@StanFromIrelandStanFromIrelandStanFromIreland left review comments

@AA-TurnerAA-TurnerAA-Turner approved these changes

Assignees
No one assigned
Labels
docsDocumentation in the Doc dirskip news
Projects
Status: Done
Milestone
No milestone
Development

Successfully merging this pull request may close these issues.

5 participants
@encukou@AA-Turner@ZeroIntensity@neonene@StanFromIreland

[8]ページ先頭

©2009-2025 Movatter.jp