On Thu, Jun 29, 2017 at 5:43 PM, Antoine Falaize <antoine.fala...@gmail.com>
wrote:

> Thank you for your investigations!
>
> So, as far as I understand: this error is related to the use of the mpmath
> gmpy backend, and has been corrected.
>
> But, currently, this makes a large part of pyphs unusable for a small set
> of platforms, and I do not understand:
> (i) the reason for certain platforms to raise this error, while other
> won't (we never explicitely specify any backend in pyphs, and do not point
> any specific version of sympy);
>

This happens when gmpy is installed only. (SymPy detects whether gmpy is
installed and uses gmpy)


> (ii) if this fix is already merged in the current sympy master, or if it
> will be in a future release.
>

This is fixed in sympy master and will be in the next release

Isuru Fernando

>
> Can we do anything to help?
>
>
> Le mercredi 28 juin 2017 21:57:54 UTC+2, Aaron Meurer a écrit :
>>
>> I don't think the fix was accidental. See
>> https://github.com/sympy/sympy/pull/11862/commits/8a7e079920
>> 35f05780ebc33b4ffbf72d32a83069.
>> From the commit message, "Also modify mpf_norm to handle non-mpz input
>> when the mpmath gmpy backend is
>> used."
>>
>> Your Point example doesn't fail for me in master.
>>
>> Aaron Meurer
>>
>> On Wed, Jun 28, 2017 at 8:02 AM, Isuru Fernando <isu...@gmail.com>
>> wrote:
>> > From reproduce I meant a similar error (didn't check pyphs)
>> >
>> > from sympy import Point
>> > import pickle
>> > pickle.loads(pickle.dumps(Point(1.1, 2.1).evalf()))
>> >
>> >
>> > Isuru Fernando
>> >
>> > On Wed, Jun 28, 2017 at 5:28 PM, Isuru Fernando <isu...@gmail.com>
>> wrote:
>> >>
>> >> I can reproduce with gmpy2 and sympy=1.0, but goes away if I remove
>> gmpy2
>> >> or update to sympy master. This was fixed accidentally in
>> >> https://github.com/sympy/sympy/pull/11862
>> >>
>> >>
>> >> Isuru Fernando.
>> >
>> >
>> > --
>> > You received this message because you are subscribed to the Google
>> Groups
>> > "sympy" group.
>> > To unsubscribe from this group and stop receiving emails from it, send
>> an
>> > email to sympy+un...@googlegroups.com.
>> > To post to this group, send email to sy...@googlegroups.com.
>> > Visit this group at https://groups.google.com/group/sympy.
>> > To view this discussion on the web visit
>> > https://groups.google.com/d/msgid/sympy/CA%2B01voM9aDxDcb5HP
>> 8vRbj8jFpDXT3wm7KMo0RV2SqeHB7bm5w%40mail.gmail.com.
>> >
>> > For more options, visit https://groups.google.com/d/optout.
>>
> --
> You received this message because you are subscribed to the Google Groups
> "sympy" group.
> To unsubscribe from this group and stop receiving emails from it, send an
> email to sympy+unsubscr...@googlegroups.com.
> To post to this group, send email to sympy@googlegroups.com.
> Visit this group at https://groups.google.com/group/sympy.
> To view this discussion on the web visit https://groups.google.com/d/
> msgid/sympy/c3651984-89af-42e7-bf5c-b6e0ce367dc1%40googlegroups.com
> <https://groups.google.com/d/msgid/sympy/c3651984-89af-42e7-bf5c-b6e0ce367dc1%40googlegroups.com?utm_medium=email&utm_source=footer>
> .
>
> For more options, visit https://groups.google.com/d/optout.
>

-- 
You received this message because you are subscribed to the Google Groups 
"sympy" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to sympy+unsubscr...@googlegroups.com.
To post to this group, send email to sympy@googlegroups.com.
Visit this group at https://groups.google.com/group/sympy.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/sympy/CA%2B01voOZs6DAOpPeGXcn3hbmhd6iSMs9eYv8i2oa33LkSZbG%2BA%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to