vultix

Results 47 comments of vultix

@SergioBenitez I'm interested in taking this on if you're willing to help mentor.

@srijs @matthewkmayer @iliana What work still needs to be done on this?

I'm seeing the exact same error: ``` error: unsupported comparison operator: = ```

I’m getting the same error as @RemiKalbe when trying to use Postgres enigma with cockroach. Other than that things work fine

Having a single type would certainly be simpler to implement. The only drawback I see is an inability to do pattern matching. Am I missing some way to do pattern...

Imagine that this impl existed on MyEnum: ```rust #[pymethods] impl MyEnum { fn set_to_a(&mut self) { *self = MyEnum::A; } } ``` Ideally, this is how things would work from...

We could disallow `&mut self` on enum classes, but my motivating use case requires this functionality

I've looked into using `__instancecheck__`, but it leads to some messes when dealing with properties. How do you imagine property lookup to work? For instance, say that you had this...

Instead of disallowing `&mut self` methods altogether, `#[pymethods]` could automatically generate a python-compatible function that takes a signature like this: ```rust fn my_fn(&mut self, [args]) -> T {} ``` And...

Another option is to write directly to `self.__class__`. After any `&mut self` function is called, this additional set of steps would need to occur: - Check if the variant type...