-
-
Notifications
You must be signed in to change notification settings - Fork 32.1k
gh-126618: fix repr(itertools.count(sys.maxsize)) #127048
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
Conversation
Co-authored-by: Bénédikt Tran <10796600+picnixz@users.noreply.github.com>
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I assume that you picked up my tests and NEWS entry so it should be fine.
Yes. And tests from #126617 aren't reverted, of course. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM
Thanks @skirpichev for the PR, and @vstinner for merging it 🌮🎉.. I'm working now to backport this PR to: 3.13. |
) (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>
GH-127508 is a backport of this pull request to the 3.13 branch. |
Thanks @skirpichev for the PR, and @vstinner for merging it 🌮🎉.. I'm working now to backport this PR to: 3.12. |
Sorry, @skirpichev and @vstinner, I could not cleanly backport this to
|
@skirpichev @picnixz: Does the 3.12 branch have the bug? If yes, can you propose a backport @skirpichev? |
I think so. The reason why I didn't put the 3.12 label before was because my branch used free-threaded special code. This fix is 3.12+ compatible (the fix that was reverted in this PR was backported up to 3.12). |
I'm working on backport. |
GH-127510 is a backport of this pull request to the 3.12 branch. |
Co-authored-by: Bénédikt Tran <10796600+picnixz@users.noreply.github.com>
Co-authored-by: Bénédikt Tran <10796600+picnixz@users.noreply.github.com>
itertools.count(sys.maxsize)
#126618