-
Notifications
You must be signed in to change notification settings - Fork 52
Rationale behind not setting positional arguments to positional only for few functions. #475
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
Labels
Comments
Thanks, @kgryte! Do you think there should be some detail about this in the official documentation to avoid confusion in the future? |
Agreed. We have an open issue to consolidate some of the spec guidance (see #223), and, as part of addressing the concerns described there, can add an explainer regarding exceptions to the general rule. |
17 tasks
rgommers
added a commit
to rgommers/array-api
that referenced
this issue
Jan 11, 2024
The type annotations part was a little outdated. For the positional and keyword-only descriptions, improve the language to account for exceptions to the default design rules. Closes data-apisgh-475
rgommers
added a commit
to rgommers/array-api
that referenced
this issue
Jan 12, 2024
The type annotations part was a little outdated. For the positional and keyword-only descriptions, improve the language to account for exceptions to the default design rules. Closes data-apisgh-475
kgryte
pushed a commit
that referenced
this issue
Jan 22, 2024
The type annotations part was a little outdated. For the positional and keyword-only descriptions, improve the language to account for exceptions to the default design rules. Closes: #475 PR-URL: #730 Reviewed-by: Athan Reines <[email protected]>
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Functions like
full
andones
and maybe others don't have positional only arguments in their definition. I wanted to know the reason behind this. https://data-apis.org/array-api/latest/API_specification/creation_functions.html?highlight=positionalThe text was updated successfully, but these errors were encountered: