Skip to content

Conversation

@mumallaeng
Copy link
Contributor

Add combinations.__reduce__ #3611 and fix next

@fanninpm
Copy link
Contributor

fanninpm commented Nov 9, 2022

See also #3931

@mumallaeng mumallaeng marked this pull request as ready for review November 9, 2022 21:03
@mumallaeng
Copy link
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
@DimitrisJim
Copy link
Member

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

@mumallaeng
Copy link
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 youknowone merged commit 17944d3 into RustPython:main Nov 18, 2022
@youknowone
Copy link
Member

Thank you!

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