[sage-support] Re: Problem with load in sagemath 9.0 on ubuntu 20.04
On Tuesday, October 20, 2020 at 11:57:21 AM UTC-7, Carl Eberhart wrote: > > Thanks. After looking for the definition of of preparse_file it appears > that it is imported from a binary file. Will I have to download the source > and recompile to fix this? > Your code in orthogtraps19.sage likely contains <> and needs updating. -- You received this message because you are subscribed to the Google Groups "sage-support" group. To unsubscribe from this group and stop receiving emails from it, send an email to sage-support+unsubscr...@googlegroups.com. To view this discussion on the web visit https://groups.google.com/d/msgid/sage-support/54b75ed5-be5d-427b-a6bf-56bfdef2f542o%40googlegroups.com.
[sage-support] Re: Problem with load in sagemath 9.0 on ubuntu 20.04
Thanks. After looking for the definition of of preparse_file it appears that it is imported from a binary file. Will I have to download the source and recompile to fix this? Carl On Monday, October 19, 2020 at 4:15:27 PM UTC-5 Matthias Koeppe wrote: > On Monday, October 19, 2020 at 10:36:05 AM UTC-7, Carl Eberhart wrote: > >> I can't load a sage file in either the notebook or terminal version of >> Sage >> > File "", line 121 >> if s<>_sage_const_0 : >> ^ >> SyntaxError: invalid syntax >> > > The syntax <> for "not equal" is no longer valid in Python 3. Use != > instead. > -- You received this message because you are subscribed to the Google Groups "sage-support" group. To unsubscribe from this group and stop receiving emails from it, send an email to sage-support+unsubscr...@googlegroups.com. To view this discussion on the web visit https://groups.google.com/d/msgid/sage-support/11be8a16-7579-4454-975b-926fb4055de4n%40googlegroups.com.
[sage-support] Re: Problem with load in sagemath 9.0 on ubuntu 20.04
On Monday, October 19, 2020 at 10:36:05 AM UTC-7, Carl Eberhart wrote: > > I can't load a sage file in either the notebook or terminal version of Sage > File "", line 121 > if s<>_sage_const_0 : > ^ > SyntaxError: invalid syntax > The syntax <> for "not equal" is no longer valid in Python 3. Use != instead. -- You received this message because you are subscribed to the Google Groups "sage-support" group. To unsubscribe from this group and stop receiving emails from it, send an email to sage-support+unsubscr...@googlegroups.com. To view this discussion on the web visit https://groups.google.com/d/msgid/sage-support/da812ca0-a143-4c8e-b2ee-62056a3e61a7o%40googlegroups.com.