@christmastree it looks like if you go to python 3.13 you get a new (non-readline-based) interactive shell which seems to work much better than the libedit one docs.python.org/3.13/whatsnew/