[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
bug#59477: python-tests fail without tree-sitter
From: |
Mattias Engdegård |
Subject: |
bug#59477: python-tests fail without tree-sitter |
Date: |
Mon, 28 Nov 2022 11:01:52 +0100 |
27 nov. 2022 kl. 15.48 skrev kobarity <kobarity@gmail.com>:
> 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.
python-shell-output-filter-trace.log
Description: Binary data
- bug#59477: python-tests fail without tree-sitter, Mattias Engdegård, 2022/11/22
- bug#59477: python-tests fail without tree-sitter, Yuan Fu, 2022/11/22
- bug#59477: python-tests fail without tree-sitter, Yuan Fu, 2022/11/23
- bug#59477: python-tests fail without tree-sitter, Mattias Engdegård, 2022/11/25
- bug#59477: python-tests fail without tree-sitter, Yuan Fu, 2022/11/26
- bug#59477: python-tests fail without tree-sitter, Mattias Engdegård, 2022/11/27
- bug#59477: python-tests fail without tree-sitter, Mattias Engdegård, 2022/11/27
- bug#59477: python-tests fail without tree-sitter, kobarity, 2022/11/27
- bug#59477: python-tests fail without tree-sitter,
Mattias Engdegård <=
- bug#59477: python-tests fail without tree-sitter, kobarity, 2022/11/28
- bug#59477: python-tests fail without tree-sitter, Mattias Engdegård, 2022/11/28
- bug#59477: python-tests fail without tree-sitter, Mattias Engdegård, 2022/11/28