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

Appearance settings

A few quick fixes#2503

Merged
pushfoo merged 4 commits into
developmentpythonarcade/arcade:developmentfrom
hot-fixespythonarcade/arcade:hot-fixesCopy head branch name to clipboard
Jan 23, 2025
Merged

A few quick fixes#2503
pushfoo merged 4 commits into
developmentpythonarcade/arcade:developmentfrom
hot-fixespythonarcade/arcade:hot-fixesCopy head branch name to clipboard

Conversation

@DragonMoffon

@DragonMoffon DragonMoffon commented Jan 23, 2025

Copy link
Copy Markdown
Collaborator

Fixes:

@DragonMoffon DragonMoffon changed the title A few hotfixes A few quick fixes Jan 23, 2025
@pushfoo pushfoo merged commit 434ed57 into development Jan 23, 2025
@pushfoo pushfoo deleted the hot-fixes branch January 23, 2025 06:36
Comment thread arcade/sections.py
accept_mouse_events: bool | Iterable = True,
prevent_dispatch: Iterable | None = None,
prevent_dispatch_view: Iterable | None = None,
prevent_dispatch: Iterable | bool | None = None,

@ghost ghost Jan 23, 2025

Copy link
Copy Markdown

Choose a reason for hiding this comment

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

defval can be set to {True} now, and then L99 just becomes
self.prevent_dispatch = prevent_dispatch

same for _view. This would break existing code which explicitly passes in None (can't imagine such).

Also maybe bool | Iterable vs. Iterable | bool should be consistent for readability.

Thanks!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants

Morty Proxy This is a proxified and sanitized view of the page, visit original site.