Skip to content
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 our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[3.13] gh-57141: Make shallow argument to filecmp.dircmp keyword-only (GH-121767) #121777

Merged
merged 1 commit into from
Jul 14, 2024

Conversation

miss-islington
Copy link
Contributor

@miss-islington miss-islington commented Jul 14, 2024

It is our general practice to make new optional parameters keyword-only,
even if the existing parameters are all positional-or-keyword. Passing
this parameter as positional would look confusing and could be error-prone
if additional parameters are added in the future.
(cherry picked from commit 50eec50)

Co-authored-by: Jelle Zijlstra [email protected]


📚 Documentation preview 📚: https://cpython-previews--121777.org.readthedocs.build/

…ythonGH-121767)

It is our general practice to make new optional parameters keyword-only,
even if the existing parameters are all positional-or-keyword. Passing
this parameter as positional would look confusing and could be error-prone
if additional parameters are added in the future.
(cherry picked from commit 50eec50)

Co-authored-by: Jelle Zijlstra <[email protected]>
@JelleZijlstra JelleZijlstra self-assigned this Jul 14, 2024
@JelleZijlstra JelleZijlstra enabled auto-merge (squash) July 14, 2024 22:54
@JelleZijlstra JelleZijlstra merged commit 55ff124 into python:3.13 Jul 14, 2024
36 checks passed
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