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); (ii) if this fix is already merged in the current sympy master, or if it will be in a future release. 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/8a7e07992035f05780ebc33b4ffbf72d32a83069. > > > 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 <[email protected] > <javascript:>> 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 <[email protected] > <javascript:>> 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 [email protected] <javascript:>. > > To post to this group, send email to [email protected] > <javascript:>. > > 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%2B01voM9aDxDcb5HP8vRbj8jFpDXT3wm7KMo0RV2SqeHB7bm5w%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 [email protected]. To post to this group, send email to [email protected]. 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. For more options, visit https://groups.google.com/d/optout.
