Skip to content
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

Itertool recipe additions #127483

Merged
merged 6 commits into from
Dec 4, 2024
Merged

Itertool recipe additions #127483

merged 6 commits into from
Dec 4, 2024

Conversation

rhettinger
Copy link
Contributor

@rhettinger rhettinger commented Dec 1, 2024

  • Demonstrate the repeat() idiom for fast looping without creating integers.
  • Show an obvious application for sieve() in the math section.

📚 Documentation preview 📚: https://cpython-previews--127483.org.readthedocs.build/

@rhettinger rhettinger added docs Documentation in the Doc dir skip issue skip news labels Dec 1, 2024
@rhettinger rhettinger requested a review from ericvsmith December 1, 2024 15:31
@picnixz picnixz added needs backport to 3.12 bug and security fixes needs backport to 3.13 bugs and security fixes labels Dec 1, 2024
@rhettinger rhettinger merged commit 7f882c8 into python:main Dec 4, 2024
25 checks passed
@miss-islington-app
Copy link

Thanks @rhettinger for the PR 🌮🎉.. I'm working now to backport this PR to: 3.12, 3.13.
🐍🍒⛏🤖

miss-islington pushed a commit to miss-islington/cpython that referenced this pull request Dec 4, 2024
(cherry picked from commit 7f882c8)

Co-authored-by: Raymond Hettinger <[email protected]>
@miss-islington-app
Copy link

Sorry, @rhettinger, I could not cleanly backport this to 3.12 due to a conflict.
Please backport using cherry_picker on command line.

cherry_picker 7f882c88cfda486947974cb82c20a1ae7047edfc 3.12

@bedevere-app
Copy link

bedevere-app bot commented Dec 4, 2024

GH-127585 is a backport of this pull request to the 3.13 branch.

@bedevere-app bedevere-app bot removed the needs backport to 3.13 bugs and security fixes label Dec 4, 2024
@rhettinger rhettinger deleted the recipe_updates branch December 4, 2024 00:21
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
docs Documentation in the Doc dir needs backport to 3.12 bug and security fixes skip issue skip news
Projects
Status: Done
Development

Successfully merging this pull request may close these issues.

2 participants