Skip to content

Make all keyword arguments keyword-only#270

Merged
leouieda merged 1 commit intomainfrom
keyword-only
Mar 30, 2026
Merged

Make all keyword arguments keyword-only#270
leouieda merged 1 commit intomainfrom
keyword-only

Conversation

@leouieda
Copy link
Copy Markdown
Member

Passing keyword arguments as positional will now cause errors. This is good because the previous behavior can lead to bugs in user code (and our own). This is a backwards incompatible change but will likely have little effect since there weren't many keyword arguments in our functions and methods.

Relevant issues/PRs: Fixes #264

Passing keyword arguments as positional will now cause errors. This
is good because the previous behavior can lead to bugs in user code
(and our own). This is a backwards incompatible change but will likely
have little effect since there weren't many keyword arguments in our
functions and methods.
@leouieda leouieda merged commit 82cad7b into main Mar 30, 2026
12 checks passed
@leouieda leouieda deleted the keyword-only branch March 30, 2026 12:44
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.

Make function arguments keyword only

1 participant