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

[red-knot] feat: implement all rich comparison operators #13635

Draft
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

Slyces
Copy link
Contributor

@Slyces Slyces commented Oct 4, 2024

The algorithm for rich comparison still has some todo items

Summary

The algorithm to perform rich comparisons on instances is non trivial. #13571 introduced a placeholder for __lt__.

This PR addresses some of the // TODO and contributes towards #13618.

Test Plan

To be done, this is why the PR is still a draft

The algorithm for rich comparison still has some todo items
@AlexWaygood AlexWaygood added the red-knot Multi-file analysis & type inference label Oct 7, 2024
@carljm
Copy link
Contributor

carljm commented Oct 17, 2024

We may want to get this in place soon; let us know if you'd like to continue with it, or if it would be better for one of us to pick it up and get it ready to land!

@Slyces
Copy link
Contributor Author

Slyces commented Oct 17, 2024

Hi, I've been a bit busy with work recently, I don't mind if someone picks the ticket!

Do you want me to close the draft PR?

@carljm
Copy link
Contributor

carljm commented Oct 17, 2024

No problem, thanks for replying! (And for all your contributions over the last few weeks.)

No need to close this PR, it may be useful reference / starting point. But (until/unless we hear otherwise) we'll assume that you aren't working on it and it's safe for one of us to pick it up from here, without duplicating work.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
red-knot Multi-file analysis & type inference
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants