Re: [sympy] powers in the mathematica parser and *^

2020-10-16 Thread roberto franceschini
You are correct, ** is a whole different thing, I forgot to point out that the parses was doing the python thing, but it should have not. So, all in all ** is mis-interpreted *^ is mis-interpreted ^^ is mis-interpreted I think the parser should first look for "forms" and notation, i.e. start

Re: [sympy] Is it safe to use sympy in multi-threaded environment?

2020-08-14 Thread roberto franceschini
> SymPy can have issues with things like pickle sometimes. Such as? On Thu, Aug 13, 2020 at 10:49 PM Paul Royik wrote: > You're right. > > On Wednesday, August 12, 2020 at 11:04:24 PM UTC+3, Aaron Meurer wrote: >> >> I haven't tried it but I imagine it would. The biggest challenge would >> be

Re: [sympy] lambdify list of arguments converted silently, why not throw a warning?

2020-07-17 Thread roberto franceschini
FYI https://github.com/sympy/sympy/pull/19792 On Fri, Jul 17, 2020 at 3:27 PM roberto franceschini < franceschini.robe...@gmail.com> wrote: > Thanks, I think this is why lambdify should not accept anything that > hasn't a fixed ordering - this part of lambdify was coded too lighthea

Re: [sympy] lambdify list of arguments converted silently, why not throw a warning?

2020-07-17 Thread roberto franceschini
Thanks, I think this is why lambdify should not accept anything that hasn't a fixed ordering - this part of lambdify was coded too lighthearted in my opinion. So I am working on a pull request but I would like to have some discussion on what to do to make lambdify better in this sense. At this

Re: [sympy] lambdify list of arguments converted silently, why not throw a warning?

2020-07-10 Thread roberto franceschini
return what the newly created > > symbols are or some other object that can tell you them: > > expr, syms = some_function(args) > > I think that attempting to guess what symbols should be used in any > > context by inspecting free symbols is not a good approach. > &g

Re: [sympy] lambdify list of arguments converted silently, why not throw a warning?

2020-07-10 Thread roberto franceschini
; symbols are or some other object that can tell you them: > expr, syms = some_function(args) > I think that attempting to guess what symbols should be used in any > context by inspecting free symbols is not a good approach. > > Oscar > > On Fri, 10 Jul 20

Re: [sympy] lambdify list of arguments converted silently, why not throw a warning?

2020-07-10 Thread roberto franceschini
t; free_symbols to get the arguments to lambdify. > > Oscar > > On Fri, 10 Jul 2020 at 08:10, roberto franceschini > wrote: > > > > Hello, I have opened an issue for the input of lambdify. If you want to > disallow sets as inputs I think it is fair. However, It would

Re: [sympy] lambdify list of arguments converted silently, why not throw a warning?

2020-07-10 Thread roberto franceschini
Hello, I have opened an issue for the input of lambdify. If you want to disallow sets as inputs I think it is fair. However, It would be nice to have that free_symbol can be given directly as input for lambdify, is that possible? should I use something else than free_symbols for this purpose? On