Carsten Mikkelsen
Carsten Mikkelsen
I think this should be re-opened as it works in pdb. When I test the code from https://github.com/inducer/pudb/issues/26#issuecomment-486882575, I can modify `i` just fine: $ python -m pdb zzz.py >...
How about something like this? ``` diff --git a/Cargo.toml b/Cargo.toml index 4837654..17b0a3d 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -59,6 +59,7 @@ open = "1.4.0" unicode-width = "0.1.8" textwrap = "0.12.0"...
@yuri1969 I have seen some weird behaviour as well. It works as expected when I run it through `cargo`, but fails when running as stand-alone. I will look into it...
FYI: I have moved back to a one line prompt (not because of this issue), so I will not look any more at this.
I see this bug on Windows. Try this: ```python import asyncio import aioconsole async def main(): try: async with asyncio.timeout(3): print(await aioconsole.ainput()) except TimeoutError: print("Timeout!") print(await aioconsole.ainput("Double 'Enter' needed on...
For those that are looking for a working solution, the "[prompt-toolkit](https://python-prompt-toolkit.readthedocs.io/en/master/pages/asking_for_input.html#prompt-in-an-asyncio-application)" library has a working solution.