On Tue, 6 Jan 2026 at 11:34, Little Grey Men <[email protected]> wrote:
>
> Would like some advice on use of string "x" as expression source.
> "x**1" can work ok with sympify
> "1x" can work with parse_expr
>
> We try "x" with sympify and can see it return a type that is not sympy.Expr
> Apparently "x" can never work by design <- will that change?,
> is some option combo to parse "x"?

It is not clear what you mean here:

In [15]: isinstance(sympify("x"), Expr)
Out[15]: True

--
Oscar

-- 
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 view this discussion visit 
https://groups.google.com/d/msgid/sympy/CAHVvXxT1ixO878C4KTuXD44d8FSEdzZpeysa2XTnwD9qRPmw-A%40mail.gmail.com.

Reply via email to