On Mon, Jan 12, 2026 at 3:06 PM Dima Pasechnik <[email protected]> wrote: > > I've opened https://github.com/sagemath/sage/issues/41438 > to deal with this
workaround: do export PYTHON_BASIC_REPL=1 then everything is back to normal, it appears. E.g. ./sage -t src/sage/quivers/algebra_elements.pxi passes > > On Sun, Jan 11, 2026 at 10:16 PM Dima Pasechnik <[email protected]> wrote: > > > > On Sun, Jan 11, 2026 at 3:26 PM John H Palmieri <[email protected]> > > 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 -- You received this message because you are subscribed to the Google Groups "sage-release" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. To view this discussion visit https://groups.google.com/d/msgid/sage-release/CAAWYfq2aPAgNhAn%2BUc1GyBvOVcb6jKc_HCW%2BuAAb6Dw9TaP9iw%40mail.gmail.com.
