-
-
Notifications
You must be signed in to change notification settings - Fork 30.9k
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
Incorrect representation of itertools.count(sys.maxsize)
#126618
Labels
3.12
bugs and security fixes
3.13
bugs and security fixes
3.14
new features, bugs and security fixes
extension-modules
C modules in the Modules dir
type-bug
An unexpected behavior, bug, or error
Comments
itertools.count.__repr__ when count is sys.maxsize itertools.count(sys.maxsize)
skirpichev
added a commit
to skirpichev/cpython
that referenced
this issue
Nov 20, 2024
Co-authored-by: Bénédikt Tran <10796600+picnixz@users.noreply.github.com>
vstinner
pushed a commit
that referenced
this issue
Dec 2, 2024
Co-authored-by: Bénédikt Tran <10796600+picnixz@users.noreply.github.com>
miss-islington
pushed a commit
to miss-islington/cpython
that referenced
this issue
Dec 2, 2024
) (cherry picked from commit 930ba0c) Co-authored-by: Sergey B Kirpichev <skirpichev@gmail.com> Co-authored-by: Bénédikt Tran <10796600+picnixz@users.noreply.github.com>
srinivasreddy
pushed a commit
to srinivasreddy/cpython
that referenced
this issue
Jan 8, 2025
Co-authored-by: Bénédikt Tran <10796600+picnixz@users.noreply.github.com>
ebonnal
pushed a commit
to ebonnal/cpython
that referenced
this issue
Jan 12, 2025
Co-authored-by: Bénédikt Tran <10796600+picnixz@users.noreply.github.com>
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Labels
3.12
bugs and security fixes
3.13
bugs and security fixes
3.14
new features, bugs and security fixes
extension-modules
C modules in the Modules dir
type-bug
An unexpected behavior, bug, or error


Bug report
Bug description:
This aborts on DEBUG builds. See #126595 (comment).
I'd like to address this issue separately since the free-threaded code would be different.
CPython versions tested on:
CPython main branch
Operating systems tested on:
No response
Linked PRs
itertools.count(sys.maxsize)#126620The text was updated successfully, but these errors were encountered: