FazBrowse GitHub Viewer | Trending |
URL:
| Home
Tools: [Download Repo ZIP]   [Original HTTPS Page]

Add `combinations.__reduce__ ` by mumallaeng · Pull Request #4272 · RustPython/RustPython · GitHub

Repository navigation

Add combinations.__reduce__ - #4272

Merged
youknowone merged 2 commits into
RustPython:mainfrom
mumallaeng:iter_combi_reduce
Nov 18, 2022
Merged

youknowone merged 2 commits into
RustPython:mainfrom
mumallaeng:iter_combi_reduce

Conversation

Copy link
Copy Markdown
Contributor

Add combinations.__reduce__ #3611 and fix next

fanninpm commented Nov 9, 2022

Copy link
Copy Markdown
Contributor

See also #3931

mumallaeng marked this pull request as ready for review November 9, 2022 21:03

Copy link
Copy Markdown
Contributor Author

Sorry. I didn‘t know how to use github cli. But now that I know how to use it, I merged the original PR!

Add result in struct PyItertoolsCombinations

Copy link
Copy Markdown
Member

Hm, @oow214 have you coordinated with @seryoungshim17 on this? I'm unsure which of the PRs to review.

Copy link
Copy Markdown
Contributor Author

I wrote the code after looking at the cpython code https://github.com/python/cpython/blob/main/Modules/itertoolsmodule.c#L2937-#L2965.

youknowone merged commit 17944d3 into RustPython:main Nov 18, 2022

Copy link
Copy Markdown
Member

Thank you!

This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode characters
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.

5 participants


Back | FazBrowse Home | New Git URL