Skip to content

DOC : clarify event_loop_is_running docstring - #32119

Open
joddeepesh-cloud wants to merge 1 commit into
matplotlib:mainfrom
joddeepesh-cloud:issue-32041-macos-event-loop
Open

DOC : clarify event_loop_is_running docstring#32119
joddeepesh-cloud wants to merge 1 commit into
matplotlib:mainfrom
joddeepesh-cloud:issue-32041-macos-event-loop

Conversation

@joddeepesh-cloud

Copy link
Copy Markdown
Contributor

Summary

This PR clarifies the docstring for event_loop_is_running() in the macOS backend.

The previous docstring described what the function returns, but did not clarify that its name is intentionally imprecise. This update explains that the function reports whether the macOS backend has initialized the NSApp main event loop, rather than determining whether an arbitrary event loop is running.

Closes #32041

Comment thread src/_macosx.m Outdated
Comment thread src/_macosx.m Outdated
Comment thread test_tkagg_ctrl_c.py Outdated
@joddeepesh-cloud
joddeepesh-cloud force-pushed the issue-32041-macos-event-loop branch from 938933d to 7fe88ec Compare July 27, 2026 17:24
@joddeepesh-cloud
joddeepesh-cloud force-pushed the issue-32041-macos-event-loop branch from f828e54 to 248a084 Compare July 27, 2026 17:59
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

[MNT]: macosx event_loop_is_running is a deceptive name

2 participants