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

Missing support for Python special methods for rich comparison #690

Closed
robertwb opened this issue Nov 24, 2008 · 4 comments
Closed

Missing support for Python special methods for rich comparison #690

robertwb opened this issue Nov 24, 2008 · 4 comments

Comments

@robertwb
Copy link
Contributor

In pure Python mode, the __richcmp__() special method is not available for cdef classes, only __eq__() and friends can be used. These must be aggregated into __richcmp__() somehow.

Migrated from http://trac.cython.org/ticket/130

@robertwb
Copy link
Contributor Author

scoder changed description from

In pure Python mode, the richcmp() special method is not available, only eq() and friends can be used. These must be aggregated into richcmp() somehow.

to

In pure Python mode, the __richcmp__() special method is not available, only __eq__() and friends can be used. These must be aggregated into __richcmp__() somehow.
commented

@robertwb
Copy link
Contributor Author

scoder changed milestone from wishlist to 1.0
version from 1.0 to empty
commented

@robertwb
Copy link
Contributor Author

robertwb commented Oct 2, 2013

scoder changed milestone from 1.0 to wishlist
commented

@robertwb
Copy link
Contributor Author

robertwb commented Oct 2, 2013

scoder changed description from

In pure Python mode, the __richcmp__() special method is not available, only __eq__() and friends can be used. These must be aggregated into __richcmp__() somehow.

to

In pure Python mode, the __richcmp__() special method is not available for cdef classes, only __eq__() and friends can be used. These must be aggregated into __richcmp__() somehow.
commented

@robertwb robertwb added this to the wishlist milestone Aug 16, 2016
@scoder scoder closed this as completed in b75d294 Sep 3, 2017
@scoder scoder modified the milestones: 0.27, wishlist Sep 3, 2017
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants