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

gh-91210: Improve error message when non-default param follows default #95933

Merged

Conversation

lysnikolaou
Copy link
Contributor

@lysnikolaou lysnikolaou commented Aug 12, 2022

  • Improve error message when parameter without a default follows one with a default
  • Show same error message when positional-only params precede the default/non-default sequence

Automerge-Triggered-By: GH:lysnikolaou

…default

- Improve error message when parameter without a default follows one
  with a default
- Show same error message when positional-only params precede the
  default/non-default sequence
@lysnikolaou
Copy link
Contributor Author

lysnikolaou commented Sep 17, 2022

@pablogsal Very slight nudge on this.

Copy link
Member

@pablogsal pablogsal left a comment

LGTM with a small nit on the commit message.

Thanks for working on this 🚀

@lysnikolaou
Copy link
Contributor Author

lysnikolaou commented Sep 17, 2022

@pablogsal I guess we're not backporting this, correct?

@lysnikolaou lysnikolaou added the 🤖 automerge PR will be merged once it's been approved and all CI passed label Sep 17, 2022
@miss-islington miss-islington merged commit 7e36abb into python:main Sep 17, 2022
14 checks passed
@lysnikolaou lysnikolaou deleted the gh91210-default-arguments-error-message branch Sep 17, 2022
@pablogsal
Copy link
Member

pablogsal commented Sep 17, 2022

@pablogsal I guess we're not backporting this, correct?

Unfortunately, we cannot backport it, since it's technically an improvement

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
🤖 automerge PR will be merged once it's been approved and all CI passed
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

4 participants