Nathaniel Starkman

Results 126 comments of Nathaniel Starkman

@mhvk @eteq. I'm just seeing this issue for the first time (mentioned in https://github.com/astropy/astropy-project/pull/283). Proposal https://github.com/astropy/astropy-project/pull/269 will outline similar ideas. Nice to see convergent evolution! I believe Proposal https://github.com/astropy/astropy-project/pull/269 solves...

I can take a look at this. I don't have a linux distro, so any info will be useful. @astrofrog, were any particular tests hanging in ``TestQuantityTyping`` ?

Yeah, this is more of a long term thing to keep on our radar.

Yeah, with this protocol, we could have ```python from astropy import table def somefunc(df, ...): """`df` can be any dataframe supporting the protocol.""" astropy_df = table.from_dataframe(df) # converts without copying...

I think a PR implementing this needs to be initiated by someone with high enough permissions... I just checked and I don't think I can configure the pre-commit bot to...

As in subclass BaseCoordinateFrame and define a new frame object? Or as in just use, e.g. Galactocentric?

In my own code I have a frame called ``UnFrame`` which I use when no particular frame should be used. It's just a subclass of `BaseCoordinateFrame` that I made a...

In mathematical contexts ``inf` is a relatively common default: - specifying the norm, e.g. L-infinity - domains and ranges So a `Literal[inf]` would be very useful in those contexts.

This would really only be practical if the enums were "batteries included" in base python. Having every library define their own Enum and then, for correct type checking, require users...