Oscar Benjamin
Oscar Benjamin
Why doesn't it work with uv? Is that not a bug in uv? Note that we can add a project table without switching from setuptools to hatchling. That is a...
A downside of the approach here is that the dummy symbol used is a global. It is possible for someone to get access to that dummy and then it no...
Just computing sums where the summand is 1 seems a bit too specific to me. What could be done fairly easily is to improve the speed of `Sum.doit()` for polynomials....
These are the doctests and they run fine in other situations but not in WASM: https://github.com/flintlib/python-flint/blob/b71d9c24076316f81348151430f1a7d985c9e543/src/flint/types/_gr.pyx#L1204-L1218 https://github.com/flintlib/python-flint/blob/b71d9c24076316f81348151430f1a7d985c9e543/src/flint/types/_gr.pyx#L1247-L1259
This is ready for review.
> Check that the data structure is consistent with the domain, else the conversion routines will need to be fixed to coerce mismatched rep elements with the desired domain instead...
> I updated the OP. By conversion I meant `DMP_Python([1, 2], QQ).convert(QQ).to_list()` does not become `[MPQ(1,1),MPQ(2,1)]` and `DMP_Python([MPQ(2,1)], ZZ).convert(ZZ).to_list()` doesn't become [2] -- but that doesn't seem to cause troubles...
This looks more like what I would expect now but I would need to look more closely to check it.
It doesn't look like this fixes the issue that it claims to fix: ```python In [1]: p = x**2/4 - 1 In [2]: q = x/2 - 1 In [3]:...