Re: [sage-devel] Why SR('expression') fail on some but not others?

2023-04-26 Thread Dima Pasechnik
I have opened https://github.com/sagemath/sage/issues/35572 to deal with this On Wed, Apr 26, 2023 at 10:27 AM dimpase wrote: > > On Tue, Apr 25, 2023 at 11:08:02PM -0700, 'Nasser M. Abbasi' via sage-devel > wrote: > > I read integrals from a file. They all are stored as strings. > > > > Then

Re: [sage-devel] Why SR('expression') fail on some but not others?

2023-04-26 Thread dimpase
On Tue, Apr 25, 2023 at 11:08:02PM -0700, 'Nasser M. Abbasi' via sage-devel wrote: > I read integrals from a file. They all are stored as strings. > > Then use SR('expression') inside sagemath to convert them to sagemath > symbolic expression before calling integrate. > > Some give parsing

[sage-devel] Why SR('expression') fail on some but not others?

2023-04-26 Thread 'Nasser M. Abbasi' via sage-devel
I read integrals from a file. They all are stored as strings. Then use SR('expression') inside sagemath to convert them to sagemath symbolic expression before calling integrate. Some give parsing error. Is using SR('expression') not the correct way to convert string to a symbolic