Nathaniel Starkman

Results 126 comments of Nathaniel Starkman

Thanks @AlexWaygood. @JukkaL, I think I've found an issue with how mypyc processes parametrized attributes, at least in the context of decorated methods. I've been trying to understand the error...

Thanks for the further details. Darn, I was really hoping to use `dataclasses.replace`, which of course requires `@dataclass`.

I think it's because of type erasure (https://mypyc.readthedocs.io/en/latest/using_type_annotations.html?highlight=Protocol#erased-types) In principle ``@mypyc_attr(allow_interpreted_subclasses=True)`` should solve this, but it likewise errors.

Hm.. A single table works nicely, but in py3.8 numpy doesn't use ``__array__`` to convert a list off tables... so this solution isn't going to work. @mhvk I'm trying to...

Thanks @taldcroft @mhvk. I'll make these changes and push and merge when ci passes.

I think https://github.com/astropy/astropy/pull/13469#discussion_r933453352 is resolved. It's an upstream issue if not.

~I'm getting a very weird error that I can reproduce on pytest / tex, but not in Jupyter, where the example correctly finds the MRO and makes a MaskedNDArray.~ Solved!

@adrn, this might be used to solve JAX/Dask/etc + units. ``Quantity`` becomes like ``Distribution`` or ``Masked`` and what people actually use is ``NumPyQuantity`` or ``DaskQuantity`` where the class is a...

The RTD error is real, but all I've done is import `abc.ABCMeta` and use it as a base class. Hm....