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-97527: IDLE - fix buggy macosx patch#98313

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
terryjreedy merged 2 commits intopython:mainfromterryjreedy:macgui
Oct 16, 2022

Conversation

@terryjreedy
Copy link
Member

@terryjreedyterryjreedy commentedOct 16, 2022
edited by bedevere-bot
Loading

#97530 fixed IDLE tests possibly crashing on a Mac without a GUI. But it resulted in IDLE not starting in 3.10.8, 3.12.0a1, and Microsoft Python 3.10.2288.0 when test/* is not installed. After this patch, test.* is only imported when testing on Mac.

python#97530 fixed IDLE tests possibly crashing on a Mac without a GUI.But it resulted in IDLE not starting in 3.10.8, 3.12.0a1, andMicrosoft Python 3.10.2288.0 when test/* is not installed.After this patch, test.* is only imported when testing on Mac.
@terryjreedyterryjreedy removed the request for review frompablogsalOctober 16, 2022 02:29
@terryjreedyterryjreedy merged commit35fa5d5 intopython:mainOct 16, 2022
@miss-islington
Copy link
Contributor

Thanks@terryjreedy for the PR 🌮🎉.. I'm working now to backport this PR to: 3.10, 3.11.
🐍🍒⛏🤖

miss-islington pushed a commit to miss-islington/cpython that referenced this pull requestOct 16, 2022
pythonGH-97530 fixed IDLE tests possibly crashing on a Mac without a GUI.But it resulted in IDLE not starting in 3.10.8, 3.12.0a1, andMicrosoft Python 3.10.2288.0 when test/* is not installed.After this patch, test.* is only imported when testing on Mac.(cherry picked from commit35fa5d5)Co-authored-by: Terry Jan Reedy <tjreedy@udel.edu>
@bedevere-bot
Copy link

GH-98329 is a backport of this pull request to the3.11 branch.

@bedevere-botbedevere-bot removed the needs backport to 3.11only security fixes labelOct 16, 2022
@bedevere-bot
Copy link

GH-98330 is a backport of this pull request to the3.10 branch.

@bedevere-botbedevere-bot removed the needs backport to 3.10only security fixes labelOct 16, 2022
miss-islington pushed a commit to miss-islington/cpython that referenced this pull requestOct 16, 2022
pythonGH-97530 fixed IDLE tests possibly crashing on a Mac without a GUI.But it resulted in IDLE not starting in 3.10.8, 3.12.0a1, andMicrosoft Python 3.10.2288.0 when test/* is not installed.After this patch, test.* is only imported when testing on Mac.(cherry picked from commit35fa5d5)Co-authored-by: Terry Jan Reedy <tjreedy@udel.edu>
@terryjreedyterryjreedy deleted the macgui branchOctober 16, 2022 14:32
@terryjreedy
Copy link
MemberAuthor

The code for test.support.resource raises ResourceDenied(reason) on failure.
I manually tested that with this patch, IDLE starts withtest renamed totest2, so that any import oftest fails.
No unittest invoked from test/ can test what happens when test/ is not present.

@arhadthedev
Copy link
Member

arhadthedev commentedOct 16, 2022
edited
Loading

and Microsoft Python 3.10.2288.0 when test/* is not installed

Links for historical purposes:

@miss-islington
Copy link
Contributor

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

miss-islington pushed a commit to miss-islington/cpython that referenced this pull requestOct 16, 2022
pythonGH-97530 fixed IDLE tests possibly crashing on a Mac without a GUI.But it resulted in IDLE not starting in 3.10.8, 3.12.0a1, andMicrosoft Python 3.10.2288.0 when test/* is not installed.After this patch, test.* is only imported when testing on Mac.(cherry picked from commit35fa5d5)Co-authored-by: Terry Jan Reedy <tjreedy@udel.edu>
miss-islington added a commit that referenced this pull requestOct 16, 2022
GH-97530 fixed IDLE tests possibly crashing on a Mac without a GUI.But it resulted in IDLE not starting in 3.10.8, 3.12.0a1, andMicrosoft Python 3.10.2288.0 when test/* is not installed.After this patch, test.* is only imported when testing on Mac.(cherry picked from commit35fa5d5)Co-authored-by: Terry Jan Reedy <tjreedy@udel.edu>
@terryjreedy
Copy link
MemberAuthor

3.11 backport originally failed due to randon failure in a non-idle test. Re-adding backport label triggered retesting in original backport PR.

miss-islington added a commit that referenced this pull requestOct 16, 2022
GH-97530 fixed IDLE tests possibly crashing on a Mac without a GUI.But it resulted in IDLE not starting in 3.10.8, 3.12.0a1, andMicrosoft Python 3.10.2288.0 when test/* is not installed.After this patch, test.* is only imported when testing on Mac.(cherry picked from commit35fa5d5)Co-authored-by: Terry Jan Reedy <tjreedy@udel.edu>
carljm added a commit to carljm/cpython that referenced this pull requestOct 17, 2022
* main: (31 commits)pythongh-95913: Move subinterpreter exper removal to 3.11 WhatsNew (pythonGH-98345)pythongh-95914: Add What's New item describing PEP 670 changes (python#98315)  Remove unused arrange_output_buffer function from zlibmodule.c. (pythonGH-98358)pythongh-98174: Handle EPROTOTYPE under macOS in test_sendfile_fallback_close_peer_in_the_middle_of_receiving (python#98316)pythonGH-98327: Reduce scope of catch_warnings() in _make_subprocess_transport (python#98333)pythongh-93691: Compiler's code-gen passes location around instead of holding it on the global compiler state (pythonGH-98001)pythongh-97669: Create Tools/build/ directory (python#97963)pythongh-95534: Improve gzip reading speed by 10% (python#97664)pythongh-95913: Forward-port int/str security change to 3.11 What's New in main (python#98344)pythonGH-91415: Mention alphabetical sort ordering in the Sorting HOWTO (pythonGH-98336)pythongh-97930: Merge with importlib_resources 5.9 (pythonGH-97929)pythongh-85525: Remove extra row in doc (python#98337)pythongh-85299: Add note warning about entry point guard for asyncio example (python#93457)pythongh-97527: IDLE - fix buggy macosx patch (python#98313)pythongh-98307: Add docstring and documentation for SysLogHandler.createSocket (pythonGH-98319)pythongh-94808: Cover `PyFunction_GetCode`, `PyFunction_GetGlobals`, `PyFunction_GetModule` (python#98158)pythonGH-94597: Deprecate child watcher getters and setters (python#98215)pythongh-98254: Include stdlib module names in error messages for NameErrors (python#98255)  Improve speed. Reduce auxiliary memory to 16.6% of the main array. (pythonGH-98294)  [doc] Update logging cookbook with an example of custom handling of levels. (pythonGH-98290)  ...
@ZeroIntensityZeroIntensity removed the needs backport to 3.11only security fixes labelFeb 17, 2025
Sign up for freeto join this conversation on GitHub. Already have an account?Sign in to comment

Reviewers

No reviews

Assignees

@terryjreedyterryjreedy

Labels

None yet

Projects

None yet

Milestone

No milestone

Development

Successfully merging this pull request may close these issues.

5 participants

@terryjreedy@miss-islington@bedevere-bot@arhadthedev@ZeroIntensity

[8]ページ先頭

©2009-2025 Movatter.jp