On 15 Jan., 16:18, mindcorrosive <[email protected]> wrote: > I've reinstalled python with sympy (cleaning up everything in the > install directory in between), and the issue still occurs. Upgrading > to a more recent Python version is not an option -- I'm developing a > plugin for a certain application that has embedded Python scripting > engine -- and they use Py2.4. Still, I've tested the latest sympy and > Py2.6 and it works as it should on the same machine. > > I did some additional tests and it seems that the crux is in the evalf > method -- other similar functions, like sin and log, are also affected > in the same way, and the a.evalf() (see code sample for "a") method > does not work as it should as well. > > Sympy versions 0.6.1 and 0.6.0 work properly, although 0.6.5, 0.6.4 > and 0.6.2 (and most likely 0.6.3 as well) do not (yes, I've tested > them all, and yes, I'm that desperate). > > At this stage I'm pretty convinced it's a bug. Perhaps it's platform- > specific (I'm running WinXP SP3)? It works properly in linux (I've > tested it myself in Ubuntu 9.10 in a VM w/ Py2.4 and sympy 0.6.4 from > source). > > I understand that I'm apparently the only one having this issue, but > that doesn't mean it's not there. I'm willing to provide you with all > the debugging help that you need, should you decide to look deeper > into this (it's a rather critical issue for me, and I don't want to go > back to ancient sympy versions -- I use sympy.mpmath.optimization > which apparently is not present in 0.6.1).
Which functionality of mpmath.optimization do you need? It would not be too complicated to backport it to a working sympy version I think. I could even send you some old code without any dependence (except python of course) doing most of the stuff in mpmath.optimization, given I manage to find it on my pc. :) Vinzent
-- 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.
