Ask Your Question

ortollj's profile - activity

2026-07-15 20:32:20 +0200 commented question Running doctests on an external package in Sage 10.8+

Copilot said : Could you clarify your setup? It’s not clear what kind of “external package” you were testing with sage -

2026-07-15 20:19:52 +0200 edited question Easiest Way to Install SageMath-10.9 on Windows: WSL + Ubuntu‑24.04 Only 4 Scripts (Fully Automated)

Easiest Way to Install SageMath-10.9 on Windows: WSL + Ubuntu‑24.04 Only 4 Scripts (Fully Automated) --- Installation ma

2026-07-15 16:04:02 +0200 commented question Easiest Way to Install SageMath-10.9 on Windows: WSL + Ubuntu‑24.04 Only 4 Scripts (Fully Automated)

beware of cr,lf problem: in notepad++ *.ps1 -> edit -> EOL conversion -> Unix(lf)

2026-07-15 08:25:34 +0200 edited question Easiest Way to Install SageMath-10.9 on Windows: WSL + Ubuntu‑24.04 Only 4 Scripts (Fully Automated)

Easiest Way to Install SageMath-10.9 on Windows: WSL + Ubuntu‑24.04 Only 4 Scripts (Fully Automated) --- Installation ma

2026-07-03 18:46:27 +0200 received badge  Popular Question (source)
2026-07-03 18:45:41 +0200 received badge  Popular Question (source)
2026-07-03 12:44:32 +0200 commented answer Difference between Python and SageMath: operator ^ does not work for sets

Thank for the answer John Palmieri. One small observation: in a Jupyter notebook, the preparser seems to run on the ent

2026-07-03 12:44:17 +0200 marked best answer Difference between Python and SageMath: operator ^ does not work for sets

In standard Python, the operator ^ is overloaded for set objects and performs the symmetric difference:

{1, 2, 3} ^ {3, 4, 5} # returns {1, 2, 4, 5} However, in SageMath, the same expression raises an error:

A = {1, 2, 3}
B = {3, 4, 5}

def test():
    print("hello")
    C = A ^ B
    return C

test()

Result:

hello TypeError: unsupported operand type(s) for ** or pow(): 'set' and 'set' This is surprising because:

the traceback shows ** instead of ^, the error message refers to exponentiation (pow), the line number corresponds to the correct location, but the operator displayed is not the one written in the code. This suggests that SageMath does not overload ^ for sets (unlike Python), and internally treats ^ as the exponentiation operator, even when applied to sets. The resulting error message is therefore misleading.

Workaround Use the explicit symmetric difference:

A.symmetric_difference(B)

or implement XOR manually:

def xorF(s0, s1):
    return (s0 - s1) | (s1 - s0)

Question Is this behavior intentional in SageMath? Should SageMath overload ^ for sets as Python does, or at least provide a clearer error message?

2026-07-02 07:09:59 +0200 asked a question Difference between Python and SageMath: operator ^ does not work for sets

Difference between Python and SageMath: operator ^ does not work for sets In standard Python, the operator ^ is overload

2026-06-28 16:37:11 +0200 received badge  Famous Question (source)
2026-06-13 07:14:07 +0200 received badge  Popular Question (source)
2026-06-10 13:21:44 +0200 received badge  Popular Question (source)
2026-06-06 08:29:01 +0200 edited question Easiest Way to Install SageMath-10.9 on Windows: WSL + Ubuntu‑24.04 Only 4 Scripts (Fully Automated)

Easiest Way to Install SageMath-10.9 on Windows: WSL + Ubuntu‑24.04 Only 4 Scripts (Fully Automated) --- Installation ma

2026-06-05 12:30:33 +0200 edited question Easiest Way to Install SageMath-10.9 on Windows: WSL + Ubuntu‑24.04 Only 4 Scripts (Fully Automated)

Easiest Way to Install SageMath-10.9 on Windows: WSL + Ubuntu‑24.04 Only 4 Scripts (Fully Automated) --- Installation ma

2026-05-25 21:53:20 +0200 edited question Vibe Copilot installation of SageMath 10.8 on WSL Ubuntu 24.04 (Windows 11)

Vibe Copilot installation of SageMath 10.8 on WSL Ubuntu 24.04 (Windows 11) Vibe Copilot installation of SageMath 10.8 o

2026-05-25 08:58:09 +0200 edited question Easiest Way to Install SageMath-10.9 on Windows: WSL + Ubuntu‑24.04 Only 4 Scripts (Fully Automated)

Easiest Way to Install SageMath-10.9 on Windows: WSL + Ubuntu‑24.04 Only 4 Scripts (Fully Automated) --- Installation ma

2026-05-25 08:51:12 +0200 edited question Easiest Way to Install SageMath-10.9 on Windows: WSL + Ubuntu‑24.04 Only 4 Scripts (Fully Automated)

Easiest Way to Install SageMath-10.9 on Windows: WSL + Ubuntu‑24.04 Only 4 Scripts (Fully Automated) 📎 Full HTML versi

2026-05-25 08:50:22 +0200 edited question Easiest Way to Install SageMath-10.9 on Windows: WSL + Ubuntu‑24.04 Only 4 Scripts (Fully Automated)

Easiest Way to Install SageMath on Windows: WSL + Ubuntu‑24.04 Only 4 Scripts (Fully Automated) 📎 Full HTML version on

2026-05-25 08:46:25 +0200 edited question Easiest Way to Install SageMath-10.9 on Windows: WSL + Ubuntu‑24.04 Only 4 Scripts (Fully Automated)

Easiest Way to Install SageMath on Windows: WSL + Ubuntu‑24.04 Only 4 Scripts (Fully Automated) 📎 Full HTML version on

2026-05-25 08:39:58 +0200 asked a question Easiest Way to Install SageMath-10.9 on Windows: WSL + Ubuntu‑24.04 Only 4 Scripts (Fully Automated)

Easiest Way to Install SageMath on Windows: WSL + Ubuntu‑24.04 Only 4 Scripts (Fully Automated) 📎 Full HTML version on

2026-05-22 20:40:22 +0200 commented question SageMath 10.8 recent installation failure due recent evolution WSL Python3.11 -> WSL python 3.12

Thanks for the clarification. I now understand the difference: Sage 10.9 indeed supports its own internal Python 3.12, a

2026-05-19 09:06:41 +0200 edited question Vibe Copilot installation of SageMath 10.8 on WSL Ubuntu 24.04 (Windows 11)

Vibe Copilot installation of SageMath 10.8 on WSL Ubuntu 24.04 (Windows 11) Vibe Copilot installation of SageMath 10.8 o

2026-05-19 09:00:10 +0200 asked a question SageMath 10.8 recent installation failure due recent evolution WSL Python3.11 -> WSL python 3.12

SageMath 10.8 recent installation failure due recent evolution WSL Python3.11 -> WSL python 3.12 Hello, I previously

2026-05-18 08:20:22 +0200 edited question SageMath 10.9 fails to build on Ubuntu 24.04 (Python 3.12) due to numpy 2.2.x and cysignals issues

SageMath 10.9 fails to build on UUbuntu 24.04 (Python 3.12) due to numpy 2.2.x and cysignals issues Hello, Copilot and

2026-05-18 08:13:23 +0200 edited question SageMath 10.9 fails to build on Ubuntu 24.04 (Python 3.12) due to numpy 2.2.x and cysignals issues

SageMath 10.9 fails to build on UUbuntu 24.04 (Python 3.12) due to numpy 2.2.x and cysignals issues Hello, Copilot and

2026-05-18 08:09:07 +0200 edited question SageMath 10.9 fails to build on Ubuntu 24.04 (Python 3.12) due to numpy 2.2.x and cysignals issues

SageMath 10.9 fails to build on UUbuntu 24.04 (Python 3.12) due to numpy 2.2.x and cysignals issues Hello, Copilot and

2026-05-18 08:05:22 +0200 asked a question SageMath 10.9 fails to build on Ubuntu 24.04 (Python 3.12) due to numpy 2.2.x and cysignals issues

SageMath 10.9 fails to build on UUbuntu 24.04 (Python 3.12) due to numpy 2.2.x and cysignals issues Hello, Copilot and

2026-05-14 13:29:14 +0200 received badge  Notable Question (source)
2026-05-13 13:10:27 +0200 received badge  Nice Answer (source)
2026-05-13 10:38:07 +0200 commented answer [solved] Sagemath Docker 10.9 fails to find python.h

I think we've entered a new era. We now need to use AI. In an unpredictable era, perhaps a world resembling that of the

2026-05-13 07:23:41 +0200 commented answer [solved] Sagemath Docker 10.9 fails to find python.h

I think we've entered a new era. We now need to use AI.

2026-05-13 07:11:43 +0200 edited answer [solved] Sagemath Docker 10.9 fails to find python.h

I just asked your question to Copilot, here is his answer: This issue is caused by a missing dependency inside the offi

2026-05-13 07:11:09 +0200 edited answer [solved] Sagemath Docker 10.9 fails to find python.h

I just asked your question to Copilot, here is his answer: This issue is caused by a missing dependency inside the offi

2026-05-13 07:10:23 +0200 answered a question [solved] Sagemath Docker 10.9 fails to find python.h

This issue is caused by a missing dependency inside the official SageMath 10.9 Docker image. The last cell of the sagema

2026-05-12 07:31:20 +0200 commented question Vibe Copilot installation of SageMath 10.8 on WSL Ubuntu 24.04 (Windows 11)

I noticed a small issue with the SageMath kernel in JupyterLab (WSL + Ubuntu 24.04). When JupyterLab starts, the “Select

2026-05-12 07:25:39 +0200 commented question Vibe Copilot installation of SageMath 10.8 on WSL Ubuntu 24.04 (Windows 11)

I noticed a small issue with the SageMath kernel in JupyterLab (WSL + Ubuntu 24.04). When JupyterLab starts, the “Select

2026-05-12 07:17:27 +0200 commented question Vibe Copilot installation of SageMath 10.8 on WSL Ubuntu 24.04 (Windows 11)

I noticed a small issue with the SageMath kernel in JupyterLab (WSL + Ubuntu 24.04). When JupyterLab starts, the “Select

2026-05-12 07:16:55 +0200 commented question Vibe Copilot installation of SageMath 10.8 on WSL Ubuntu 24.04 (Windows 11)

I noticed a small issue with the SageMath kernel in JupyterLab (WSL + Ubuntu 24.04). When JupyterLab starts, the “Select

2026-05-12 07:15:01 +0200 commented question Vibe Copilot installation of SageMath 10.8 on WSL Ubuntu 24.04 (Windows 11)

I noticed a small issue with the SageMath kernel in JupyterLab (WSL + Ubuntu 24.04). When JupyterLab starts, the “Select

2026-05-12 07:01:03 +0200 commented question Vibe Copilot installation of SageMath 10.8 on WSL Ubuntu 24.04 (Windows 11)

I noticed a small issue with the SageMath kernel in JupyterLab (WSL + Ubuntu 24.04). When JupyterLab starts, the “Select

2026-05-11 04:52:32 +0200 commented question Vibe Copilot installation of SageMath 10.8 on WSL Ubuntu 24.04 (Windows 11)

After thinking about it, I believe that downloading files from an unofficial site (my OneDrive) should appears risky. Th

2026-05-10 07:01:36 +0200 commented question Vibe Copilot installation of SageMath 10.8 on WSL Ubuntu 24.04 (Windows 11)

After thinking about it, I believe that downloading files from an unofficial site (my OneDrive) should appears risky. Th

2026-05-10 06:47:07 +0200 commented question Vibe Copilot installation of SageMath 10.8 on WSL Ubuntu 24.04 (Windows 11)

After thinking about it, I believe that downloading files from an unofficial site (my OneDrive) should appears risky. Th

2026-05-10 06:29:47 +0200 edited question Vibe Copilot installation of SageMath 10.8 on WSL Ubuntu 24.04 (Windows 11)

Vibe Copilot installation of SageMath 10.8 on WSL Ubuntu 24.04 (Windows 11) Vibe Copilot installation of SageMath 10.8 o

2026-05-09 12:19:56 +0200 answered a question sage -n can't find jupyter sagemath kernel

hello look at my post : Vibe Copilot installation of SageMath 10.8 on WSL Ubuntu 24.04 Windows 11

2026-05-09 12:14:21 +0200 edited question Vibe Copilot installation of SageMath 10.8 on WSL Ubuntu 24.04 (Windows 11)

Vibe Copilot installation of SageMath 10.8 on WSL Ubuntu 24.04 (Windows 11) Vibe Copilot installation of SageMath 10.8 o

2026-05-09 12:12:29 +0200 edited question Vibe Copilot installation of SageMath 10.8 on WSL Ubuntu 24.04 (Windows 11)

Vibe Copilot installation of SageMath 10.8 on WSL Ubuntu 24.04 (Windows 11) Vibe Copilot installation of SageMath 10.8 o

2026-05-09 09:04:25 +0200 asked a question Vibe Copilot installation of SageMath 10.8 on WSL Ubuntu 24.04 (Windows 11)

Vibe Copilot installation of SageMath 10.8 on WSL Ubuntu 24.04 (Windows 11) Vibe Copilot installation of SageMath 10.8 o

2026-04-18 07:37:50 +0200 received badge  Famous Question (source)