27 nov. 2022 kl. 15.48 skrev kobarity : > It seems to me that `python-ffap-module-path' or > `python-shell-send-string-no-output' is not working as expected on > your environment. Indeed, something in Emacs is making incorrect assumptions. > 1. emacs -Q > 2. Open Python file. (Empty file is OK) > 3. C-c C-p (M-x run-python) > 4. C-x o (Back to the Python mode buffer) > 5. M-: (python-shell-send-string-no-output "print('a')") > > My expectation is "a". The result here is "__PYTHON_EL_eval(\"print('a')\", \"/Users/mattias/emacs/asdf.py\")\r\na" which is consistent with the test failure -- something in python-mode is having trouble parsing the reply. I traced `python-shell-output-filter`; see attached file. This might be bug#25753 again (via a comment in etc/PROBLEMS). Even if no effort is made to fix the bug properly, we should make sure the test doesn't fail.