await-able Python REPL
In Interactive Consoles/REPLs of Python, I wrote about some pains with dropping into a useable REPL from anywhere in my code. Hoping code.interact()
would just work failed me, so I started down the path of writing a simple REPL that would allow me to copy/paste arbitrary python code (including code with multi-line pastes).
I even went as far as developing an await
-able version, but it was really only a synchronous function masquerading as an async
function. And to make matters worse, we still could not await
in the REPL itself.
All things to fix now!