Found code that doesn't work:
simplify(parse_expr('3*b**(333333333333333/1000000000000000) - 3'),fu=True)
This hangs on remote.
When I hit Ctrl+C, it gives
/home/simamura/lib/python2.7/sympy/polys/polytools.pyc in cancel(f, *gens,
**args)
6228
6229 try:
-> 6230 (F, G), opt = parallel_poly_from_expr((p, q), *gens, **args)
6231 except PolificationFailed:
6232 if not isinstance(f, (tuple, Tuple)):
/home/simamura/lib/python2.7/sympy/polys/polytools.pyc in
parallel_poly_from_expr(exprs, *gens, **args)
4123 """Construct polynomials from expressions. """
4124 opt = options.build_options(gens, args)
-> 4125 return _parallel_poly_from_expr(exprs, opt)
4126
4127
/home/simamura/lib/python2.7/sympy/polys/polytools.pyc in
_parallel_poly_from_expr(exprs, opt)
4211 for monoms, coeffs in zip(all_monoms, all_coeffs):
4212 rep = dict(list(zip(monoms, coeffs)))
-> 4213 poly = Poly._from_dict(rep, opt)
4214 polys.append(poly)
4215
/home/simamura/lib/python2.7/sympy/polys/polytools.pyc in _from_dict(cls,
rep, opt)
146 rep[monom] = domain.convert(coeff)
147
--> 148 return cls.new(DMP.from_dict(rep, level, domain), *gens)
149
150 @classmethod
/home/simamura/lib/python2.7/sympy/polys/polyclasses.pyc in from_dict(cls,
rep, lev, dom)
257 def from_dict(cls, rep, lev, dom):
258 """Construct and instance of ``cls`` from a ``dict``
representation. """
--> 259 return cls(dmp_from_dict(rep, lev, dom), dom, lev)
260
261 @classmethod
/home/simamura/lib/python2.7/sympy/polys/densebasic.pyc in dmp_from_dict(f,
u, K)
993 """
994 if not u:
--> 995 return dup_from_dict(f, K)
996 if not f:
997 return dmp_zero(u)
/home/simamura/lib/python2.7/sympy/polys/densebasic.pyc in dup_from_dict(f,
K)
946
947 for k in xrange(n, -1, -1):
--> 948 h.append(f.get((k,), K.zero))
949
950 return dup_strip(h)
On Monday, November 23, 2015 at 9:03:10 PM UTC+2, Aaron Meurer wrote:
>
> What are the different results that you get? And how is b defined (are
> there any assumptions on it)?
>
> Aaron Meurer
>
> On Mon, Nov 23, 2015 at 12:56 PM, Paul Royik <[email protected]
> <javascript:>> wrote:
> > minimal script is simplify(3*b**(1/Integer(3))-3, fu=True)
> >
> > On Monday, November 23, 2015 at 8:53:45 PM UTC+2, Ondřej Čertík wrote:
> >>
> >> Is it running the the exact same hardware?
> >>
> >> Cache is clear when you start it a script. You can also clear it by
> hand:
> >>
> >> https://github.com/sympy/sympy/wiki/Faq#how-do-i-clear-the-cache
> >>
> >> Send a minimal script that hangs, and we can try it on different
> >> computers and see if we can reproduce the issue. Then we'll go from
> >> there.
> >>
> >> Ondrej
> >>
> >> On Mon, Nov 23, 2015 at 10:55 AM, Paul Royik <[email protected]>
> wrote:
> >> > Python 2.7, last version of sympy.
> >> > Code is absolutely the same.
> >> >
> >> > How to detect hardware difference? How to clear cache?
> >> >
> >> > What info should I post?
> >> >
> >> > On Monday, November 23, 2015 at 7:42:58 PM UTC+2, Ondřej Čertík
> wrote:
> >> >>
> >> >> On Mon, Nov 23, 2015 at 10:31 AM, Paul Royik <[email protected]>
> >> >> wrote:
> >> >> > I noticed this issue with simplify function.
> >> >> > Is this possible?
> >> >>
> >> >> It's possible, e.g. maybe you use a different Python or SymPy
> >> >> versions, perhaps you executed things differently, or perhaps there
> is
> >> >> some hardware difference that causes Python to behave differently
> >> >> (e.g. cache things differently).
> >> >>
> >> >> If you post us more information, we can have a look at what is going
> >> >> on.
> >> >>
> >> >> Ondrej
> >> >
> >> > --
> >> > 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 http://groups.google.com/group/sympy.
> >> > To view this discussion on the web visit
> >> >
> >> >
> https://groups.google.com/d/msgid/sympy/fb3fa210-3c73-4ae1-b8d3-aa00351a73aa%40googlegroups.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] <javascript:>.
> > To post to this group, send email to [email protected]
> <javascript:>.
> > Visit this group at http://groups.google.com/group/sympy.
> > To view this discussion on the web visit
> >
> https://groups.google.com/d/msgid/sympy/37b48ecc-ed70-4835-9086-3e4e11202302%40googlegroups.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 http://groups.google.com/group/sympy.
To view this discussion on the web visit
https://groups.google.com/d/msgid/sympy/287a6b08-41d3-4b1b-9049-15fe136aa3cd%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.