Results 111 comments of Jules Chéron

@hgrecco astropy introduced something similar that we can implement, using `Annotated` typing that I outlined in previous comments. https://github.com/astropy/astropy/commit/0deb5c545b5b1fe47361ed5a02a86fe9ef16d3ec

I'm not sure about the worsened performance. We can at least use a unit_registry fixture for those flaky test where unit registry of the Test class is mutated & overall...

@jthielen We can change repr to just use the repr of the magnitude it's easy enough & just adding units to the repr. ```python ``` using `units=` might be a...

You might get what you want using a custom `Definition` with a custom `Converter`. But for this I'd just use a function which use Quantity in degree & transform it...

The current implementation: ```python def __mul__(self, other): if self._check(other): if isinstance(other, self.__class__): return self.__class__(self._units * other._units) else: qself = self._REGISTRY.Quantity(1, self._units) return qself * other if isinstance(other, Number) and other...

We should add this in the CHANGELOG under 0.19 version as breaking change

https://developer.mozilla.org/en-US/docs/Glossary/CSS_pixel https://www.w3.org/TR/css-values-3/#absolute-lengths px/ css_pixel absolute length is defined by the W3C CSS working group. If you want px to be an alias of pixel you can redefine it.

Thanks for the feedback @deeplook. I can reproduce, it seems binary opertors for floordiv & mod operators are missing in the token evaluator. Evaluation kept going & made implicit multiplication...

It works as expected with the new version. #1471 ```python >>> parse("5 m % (2 m)") >>> parse("5 m // (2 m)") ``` It only works with the parentheses around...