This probably has to do with the limited capacities of Sage preparser, which 
converts Sage extensions to the plain Python.
It apparently cannot split lines with multiple commands.
PRs to improve this welcome.

HTH
Dima


On 3 August 2024 06:58:40 BST, 'Peter Mueller' via sage-devel 
<sage-devel@googlegroups.com> wrote:
>The line `R.<a, c> = QQbar[]; factor(a^2 - 2*c^2)` raises a
>
>ValueError: variable name '@c' is not alphanumeric
>
>while the same line with `c` replaced with `b` works fine.
>
>This happens in a local installation of Sage 10.4 (and 10.5.beta0), but 
>also on the SageCell.
>
>-- Peter Mueller
>
>-- 
>You received this message because you are subscribed to the Google Groups 
>"sage-devel" group.
>To unsubscribe from this group and stop receiving emails from it, send an 
>email to sage-devel+unsubscr...@googlegroups.com.
>To view this discussion on the web visit 
>https://groups.google.com/d/msgid/sage-devel/5ca1806b-0ff9-483e-aa80-d81f88b275fbn%40googlegroups.com.

-- 
You received this message because you are subscribed to the Google Groups 
"sage-devel" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to sage-devel+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/sage-devel/17F34B8D-C77A-4393-9A6B-34B1CE7E61DB%40gmail.com.

Reply via email to