On Sat, Aug 3, 2024 at 11:19 AM Dima Pasechnik <dimp...@gmail.com> wrote:
>
> 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.

Oops, no, sorry, my bad.
It's a bug in the implementation of polynomial rings over QQbar
(note that there is no error is QQbar is replaced by QQ)

Dima

>
> 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/CAAWYfq32LKW5LLaqA-F%3DPNaZMVMX4cT%2BpbNJYKMNY8BGX7OZOA%40mail.gmail.com.

Reply via email to