On Sun, Jan 11, 2026 at 3:26 PM John H Palmieri <
jhpalm...@gmail.com> wrote:
>
> Got it, thanks, Dima.
>
> I've been trying to jump through lots of hoops to get Sage to build and for doctests to pass. Doctests are still not passing for me on OS X, in part because of old previously reported problems (#40869, #40873), but I'm seeing a new set of failures. Something is going wrong with text processing and control sequences:
>
> src/bin/sage -t --long --warn-long 30.0 --random-seed=36948321267754839088553570681149644913 src/sage/quivers/algebra_elements.pxi
> **********************************************************************
> File "src/sage/quivers/algebra_elements.pxi", line 306, in sage.quivers.algebra_elements.pxi._FreeListProtector.__dealloc__
> Failed example:
> s.eval("P = DiGraph({1:{1:['x','y','z']}}).path_semigroup().algebra(GF(25,'t'))")
> Expected:
> ''
> Got:
> '\x1b[0m\x1b[1;34mfrom\x1b[0m\x1b[8D\x1b[8C\x1b[8D\x1b[1;35'
hmm, we got ANSI terminal control sequences here. (I see it on an
Intel mac with Python 3.14.2, too)
I ran this through
https://ansi.tools
and found that it is basically printing the string "from s",
where "from" is bold blue, and then breaks down.
\x1b[0m is "reset"
\x1b[1;34m is "bold, blue foreground"
\x1b[nD is "move cursor 'n' columns back" - in your case n=8, I see n=10.
\x1b[nC is "move cursor 'n' columns forward"
\x1b[1;35 is an illegal/incomplete sequence.
Is this a beginning of a pexpect interaction, which goes wrong?
I have no idea. Why on Earth does it make it bold blue?
Dima