Are rich comparisons (PEP 207) implemented? #2391
Unanswered
dbischof90
asked this question in
Q&A
Replies: 1 comment 3 replies
-
Can you please clarify that you imagine should be possible? Do you want a custom C# type that has a comparison operation which returns non- |
Beta Was this translation helpful? Give feedback.
3 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Hi,
I’m currently evaluating whether using Python.NET can yield an ergonomic solution for a problem at work.
I’m essentially dealing with some form of an array type and would like to do operations that are comparable to numpy, e.g.
I can’t really find a conclusive answer to that in the source code - you mention “rich comparisons” in a few type definitions, however your tests (
TestOperator.cs
) only cover simple comparisons.Is it possible to implement those in the client code?
Beta Was this translation helpful? Give feedback.
All reactions