-
-
Notifications
You must be signed in to change notification settings - Fork 30.4k
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
bpo-40077: Convert itertools types to heap types #24065
Conversation
@rhettinger, let me know how large chunks you want me to split this PR in. |
🤖 New build scheduled with the buildbot fleet by @pablogsal for commit 55cee70 🤖 If you want to schedule another build, you need to add the ":hammer: test-with-buildbots" label again. |
|
The changes are described in the PR subject: "Convert itertools types to heap types" In order to fully understand the changes, I would recommend taking a look at PEP 384, PEP 573, PyType_Spec, and PyType_Slot. I guess @vstinner or @corona10 could assist in reviewing this, if they don't mind.
The
A module should not alter its behaviour depending on how its types are implemented. I see no reason to add type implementation specific tests for
|
I prefer to close the PR for now. I'm working on a PEP with @corona10 to explain the rationale. We can wait until this (future) PEP is accepted before changing itertools. |
All right! I'll keep the branch around, then :) |
https://bugs.python.org/issue40077