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
richcompare for strings #34507
Comments
This patch implements the tp_richcompare slot for |
Logged In: YES The new revision of the patch entirely removes tp_compare |
Logged In: YES Assigned to me. |
Logged In: YES Marked accepted. Looks good! Suggest return a->ob_size == b->ob_size && for the tail of the _PyString_Eq body as compilers should Unsure why the case Py_EQ: c = c == 0; break; /* not needed here */ case is there: if it's truly unreacable (and I agree it |
Logged In: YES Oops! Looks like I forgot to assign this back to Martin. |
Logged In: YES Committed as 2.117 of stringobject.c, 2.95 of |
Note: these values reflect the state of the issue at the time it was migrated and might not reflect the current state.
Show more details
GitHub fields:
bugs.python.org fields:
The text was updated successfully, but these errors were encountered: