[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
bug#68559: [PATCH] Improve Python shell completion
From: |
Mattias Engdegård |
Subject: |
bug#68559: [PATCH] Improve Python shell completion |
Date: |
Fri, 16 Feb 2024 12:45:05 +0100 |
16 feb. 2024 kl. 10.34 skrev kobarity <kobarity@gmail.com>:
> This is caused by the fact that the input is echoed back on MacOS
> Python.
Right, that bug needs to be fixed as well, but the echo problem existed prior
to the change that broke the tests.
An alternative might be to disable the tty echo altogether. If I do it right
after process creation then it has no effect; presumably Python or its readline
module turns on echo just a bit later on. Anyway, running
import tty
tty.setraw(0)
in the python shell seems to put it right, with working completion and the
annoying echo gone.
> So one workaround would be to remove the echoed back string before
> parsing as JSON.
Yes, either that or turning off echo in the tty.
- bug#68559: [PATCH] Improve Python shell completion, (continued)
- bug#68559: [PATCH] Improve Python shell completion, Liu Hui, 2024/02/21
- bug#68559: [PATCH] Improve Python shell completion, Basil L. Contovounesios, 2024/02/21
- bug#68559: [PATCH] Improve Python shell completion, Liu Hui, 2024/02/22
- bug#68559: [PATCH] Improve Python shell completion, Basil L. Contovounesios, 2024/02/22
- bug#68559: [PATCH] Improve Python shell completion, Liu Hui, 2024/02/23
- bug#68559: [PATCH] Improve Python shell completion, Liu Hui, 2024/02/15
- bug#68559: [PATCH] Improve Python shell completion, Eli Zaretskii, 2024/02/16
- bug#68559: [PATCH] Improve Python shell completion, Eli Zaretskii, 2024/02/16
bug#68559: [PATCH] Improve Python shell completion, Liu Hui, 2024/02/15
- bug#68559: [PATCH] Improve Python shell completion, kobarity, 2024/02/16
- bug#68559: [PATCH] Improve Python shell completion,
Mattias Engdegård <=
- bug#68559: [PATCH] Improve Python shell completion, kobarity, 2024/02/16
- bug#68559: [PATCH] Improve Python shell completion, Eli Zaretskii, 2024/02/16
- bug#68559: [PATCH] Improve Python shell completion, Mattias Engdegård, 2024/02/16
- bug#68559: [PATCH] Improve Python shell completion, kobarity, 2024/02/17
- bug#68559: [PATCH] Improve Python shell completion, Mattias Engdegård, 2024/02/20
- bug#68559: [PATCH] Improve Python shell completion, kobarity, 2024/02/21
- bug#68559: [PATCH] Improve Python shell completion, Mattias Engdegård, 2024/02/21
- bug#68559: [PATCH] Improve Python shell completion, kobarity, 2024/02/22
- bug#68559: [PATCH] Improve Python shell completion, Mattias Engdegård, 2024/02/23
- bug#68559: [PATCH] Improve Python shell completion, kobarity, 2024/02/23