8000 Extend itertools.product to 10 arguments by puradox · Pull Request #12023 · python/typeshed · GitHub
[go: up one dir, main page]

Skip to content

Extend itertools.product to 10 arguments #12023

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

Merged
merged 1 commit into from
May 29, 2024
Merged

Conversation

puradox
Copy link
Contributor
@puradox puradox commented May 23, 2024

Fix typing errors when itertools.product is called with more than 6 arguments.

Fix typing errors when itertools.product is called with more than 6 arguments.
8000 Copy link
Contributor

According to mypy_primer, this change has no effect on the checked open source code. 🤖🎉

@srittau srittau merged commit 2e83e65 into python:main May 29, 2024
63 checks passed
max-muoto pushed a commit to max-muoto/typeshed that referenced this pull request Sep 8, 2024
muxator added a commit to muxator/typeshed that referenced this pull request Feb 11, 2025
Before this change, the maximum usable arity for itertools.product() was 10
(increased in 2e83e65, python#12023, which raised it from 6 to 10).

Fixes python#13490, albeit partially: just based on this change, a user has no way of
knowing if he is hitting this limit or not.

This discoverability problem will probably be best addressed with changes in
documentation or in the type checkers.
muxator pushed a commit to muxator/typeshed that referenced this pull request Feb 11, 2025
Before this change, the maximum usable arity for itertools.product() was 10
(increased in 2e83e65, python#12023, which raised it from 6 to 10).

Fixes python#13490, albeit partially: just based on this change, a user has no way of
knowing if he is hitting this limit or not.

This discoverability problem will probably be best addressed with changes in
documentation or in the type checkers.
muxator pushed a commit to muxator/typeshed that referenced this pull request Feb 11, 2025
Before this change, the maximum usable arity for itertools.product() was 10
(increased in 2e83e65, python#12023, which raised it from 6 to 10).

Fixes python#13490, albeit partially: just based on this change, a user has no way of
knowing if he is hitting this limit or not.

This discoverability problem will probably be best addressed with changes in
documentation or in the type checkers.
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
0