Date: 2024-05-05-14:05:58
So, just about about halfway through the Pi podcast from sorry, it’s not from anyone.
It is with Pablo and Lucas and they are talking about the interactive REPL today.
I think one thing I learned is in 3.13 we will be getting the new interactive REPL and in particular it will allow us to exit with using exit multi-line input and I also was able to understand a little bit better about why read line was not included and I believe it’s a licensing issue with read line being GPL and Python being I believe LGPL.
I don’t understand the particular distinction just yet but I think if Python actually shipped and distributed with read line it would then also become GPL which is problematic for some users.
What else did I learn?
I learned, well, more like I re-understood the whole idea of terminals, terminal emulators, TTYs, PTTYs, VIM mode, although I think a new concept for me was the idea of an input RC which you can feed for read line and this will configure the way your read line operates.
Some of the edge cases with working by re-implementing read line and hmm, I’m thinking what else was in there.
It’s difficult to think of other things but I guess one takeaway I took was that I should enable VIM mode in my shell and see what a convenient workflow is to use VIM mode for my shell and enter for example.
I believe there is normal mode and insert mode and you escape and then you press enter and that didn’t feel particularly comfortable there.
So essentially what I want is to have a way to enter from normal mode.
Bye.