Hi,

On 8 October 2012 16:30, Julien Rioux <[email protected]> wrote:

> Hi,
>
> What is the status of the different ground types supported by sympy?
> "./bin/test -h" mentions three possible ground types: gmpy, python, and
> sympy. These seems to have been added in March 2010 (
> http://code.google.com/p/sympy/issues/detail?id=1598#c101). In Dec 2010,
> there is mention that the sympy ground type is no longer supported (
> http://code.google.com/p/sympy/issues/detail?id=1949#c11). Indeed, if I
> run the test suite with sympy ground types, I get many errors (mostly from
> polys, but also a couple files outside polys have errors). The errors
> aren't terribly difficult to fix, maybe more so for a "proper" fix, but the
> doctests are doomed to fail since sympy's Rational likes to cast itself
> into Integer whenever possible, whereas the other types are quite happy to
> print as e.g. 0/1, 1/1, 2/1, etc. What's the plan for sympy ground types?
> If we don't want to support them, I suggest to remove them completely.
>

The only ground types that we should be concerned of are gmpy and python.
sympy ground types never worked and they simply can't work with the type
system I implemented in domains, because types in the core (sympy ground
types) aren't preserved by operations on those types (when this would be
necessary). With a recent pull request related to unification of GCDs I
removed some of sympy ground types, leaving the fundamental ones (ZZ, QQ).
You can go ahead and remove the remaining garbage.


>
> Cheers,
> Julien
>
> --
> You received this message because you are subscribed to the Google Groups
> "sympy" group.
> To view this discussion on the web visit
> https://groups.google.com/d/msg/sympy/-/zBvVu8a9lewJ.
> To post to this group, send email to [email protected].
> To unsubscribe from this group, send email to
> [email protected].
> For more options, visit this group at
> http://groups.google.com/group/sympy?hl=en.
>

Mateusz

-- 
You received this message because you are subscribed to the Google Groups 
"sympy" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to 
[email protected].
For more options, visit this group at 
http://groups.google.com/group/sympy?hl=en.

Reply via email to