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

FIX: Enable interrupts on macosx event loops#27221

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
ksunden merged 1 commit intomatplotlib:mainfromgreglucas:macos-interrupt
Oct 30, 2023

Conversation

greglucas
Copy link
Contributor

PR summary

Follow the same logic with a context manager for the handling of the event interrupts so that we can reuse the logic from the main loop implementation in thestart_event_loop function as well.

python -c 'from pylab import *; plot(); show(block=False); pause(5)'

closes#27120

PR checklist

Follow the same logic with a context manager for the handlingof the event interrupts so that we can re-use the logic fromthe main loop implementation in the start_event_loop functionas well.
@greglucasgreglucas added this to thev3.9.0 milestoneOct 28, 2023
Copy link
Contributor

@anntzeranntzer left a comment

Choose a reason for hiding this comment

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

Works for me.

@ksunden
Copy link
Member

The issue was milestoned as 3.8.1, the PR was milestoned as 3.9, I'll go ahead and merge it now, but do we wish to backport,@anntzer@greglucas?

@ksundenksunden merged commit7296abf intomatplotlib:mainOct 30, 2023
@anntzer
Copy link
Contributor

I think 3.9 is fine, this is not a regression but a new feature?

@tacaswell
Copy link
Member

I think we should backport.

@greglucasgreglucas deleted the macos-interrupt branchOctober 30, 2023 18:09
@greglucasgreglucas modified the milestones:v3.9.0,v3.8.1Oct 30, 2023
@greglucas
Copy link
ContributorAuthor

@meeseeksmachine backport to v3.8.x

@greglucas
Copy link
ContributorAuthor

@meeseeksdev backport to v3.8.x

meeseeksmachine pushed a commit to meeseeksmachine/matplotlib that referenced this pull requestOct 30, 2023
rcomer added a commit that referenced this pull requestOct 30, 2023
…221-on-v3.8.xBackport PR#27221 on branch v3.8.x (FIX: Enable interrupts on macosx event loops)
@ksundenksunden mentioned this pull requestNov 2, 2023
5 tasks
Sign up for freeto join this conversation on GitHub. Already have an account?Sign in to comment
Reviewers

@anntzeranntzeranntzer approved these changes

@ksundenksundenksunden approved these changes

Assignees
No one assigned
Projects
None yet
Milestone
v3.8.1
Development

Successfully merging this pull request may close these issues.

[Bug]: macosx backend pause() cannot be ctrl-c'd
4 participants
@greglucas@ksunden@anntzer@tacaswell

[8]ページ先頭

©2009-2025 Movatter.jp