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

[3.11] gh-97527: IDLE: protect macosx Tk() call when no GUI (GH-97530)#97531

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

Conversation

@miss-islington
Copy link
Contributor

@miss-islingtonmiss-islington commentedSep 24, 2022
edited by bedevere-bot
Loading

Only call tkinter.tk and its follow-up code in _init_tk_type when requires('gui')
does not raise. This function can be called as an unintended side-effect of
calling other idlelib code as part of tests on macOS without a GUI enabled.
(cherry picked from commit9704f8d)

Co-authored-by: Terry Jan Reedytjreedy@udel.edu

…97530)Only call tkinter.tk and its follow-up code in _init_tk_type when requires('gui')does not raise.  This function can be called as an unintended side-effect ofcalling other idlelib code as part of tests on macOS without a GUI enabled.(cherry picked from commit9704f8d)Co-authored-by: Terry Jan Reedy <tjreedy@udel.edu>
@miss-islington
Copy link
ContributorAuthor

Status check is done, and it's a success ✅.

@miss-islingtonmiss-islington merged commitfe8db63 intopython:3.11Sep 24, 2022
@miss-islingtonmiss-islington deleted the backport-9704f8d-3.11 branchSeptember 24, 2022 22:09
Sign up for freeto join this conversation on GitHub. Already have an account?Sign in to comment

Reviewers

@terryjreedyterryjreedyterryjreedy approved these changes

Assignees

No one assigned

Labels

Projects

None yet

Milestone

No milestone

Development

Successfully merging this pull request may close these issues.

3 participants

@miss-islington@terryjreedy@bedevere-bot

[8]ページ先頭

©2009-2025 Movatter.jp