o
> try that example code, you currently need to change one line in
> `numpy/include/numpy/experimental_dtype_api.h` to read:
>
> #define __EXPERIMENTAL_DTYPE_VERSION 3
>
> (The version should be 3, not 2.)
>
> >
> > On Mon, Jan 10, 2022 at 12:56 PM Juan Luis Can
Hi all,
I am a long time user of astropy.units, which allows one to define
quantities with physical units as follows:
>>> from astropy import units as u
>>> 10 << u.cm
>>> np.sqrt(4 << u.m ** 2)
>>> ([1, 1, 0] << u.m) @ ([0, 10, 20] << u.cm / u.s)
>>> (([1, 1, 0] << u.m) * ([0, 10, 20] << u.cm
I think some of the pain points raised here regarding massive churn on
existing PRs & conflicts would be addressed by what Ralf said a few
emails ago:
> A detailed proposal with an incremental formatter may have a chance
here (xref `darker` and our `tools/linter.py`), a "let's just run black"
one