3 ms·
It seems great to change the REPL to treat it like a statement! This is obviously a better user experience. I also think it's somewhat funny given Python's hist
by aeturnum 2y ago
It seems great to change the REPL to treat it like a statement! This is obviously a better user experience. I also think it's somewhat funny given Python's history on "should common functionality be accessed through statements or functions"[1]!
[1] I hope it's obvious that special-casing exit in the REPL is a much more constrained special case than print being a keyword and the difference in scope makes all the difference in balancing accessibility and consistency.