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
integer overflow in itertools.combinations_with_replacement #67554
Comments
# Bug #
# % ./python -V
# Python 3.4.1
#
# % uname -a
# Linux ubuntu 3.8.0-29-generic #42~precise1-Ubuntu SMP Wed Aug 14 15:31:16 UTC 2013 i686 i686 i386 GNU/Linux
#
import itertools as it
it.combinations_with_replacement("AA", 2**30) |
New changeset 93d445cd5f70 by Benjamin Peterson in branch '3.3': New changeset 2e7a02e4cf2c by Benjamin Peterson in branch '3.4': New changeset 4d875a690c01 by Benjamin Peterson in branch 'default': New changeset 366018a91457 by Benjamin Peterson in branch '2.7': |
The test needs 4GiB. May be use 2**29? |
New changeset 356ed025dbae by Serhiy Storchaka in branch '3.3': New changeset 98c720c3e061 by Serhiy Storchaka in branch '3.4': New changeset 4cb316fe6bf2 by Serhiy Storchaka in branch 'default': |
New changeset 887526ebb013 by Serhiy Storchaka in branch '2.7': |
Note: these values reflect the state of the issue at the time it was migrated and might not reflect the current state.
Show more details
GitHub fields:
bugs.python.org fields:
The text was updated successfully, but these errors were encountered: