I'm really struggling with some aspects of the new REPL in Python 3.14, particularly the interactions with send line integrations. Since Python 3.13, these changes have created quite a headache for me both on local setups and servers. I've noticed that when I send a line in the REPL, it often requires me to hit enter afterward to finish the input. This didn't happen before, and it seems like VSCode is still using the older REPL model. I found that setting `export PYTHON_BASIC_REPL=1` can fix some issues, but I have to remember to add this to my `.bashrc` on servers. I can't help but wonder if others are facing similar problems, or if I should just revert to using tools like vim slime for my send line needs instead.
4 Answers
Could you share a bit more about what you're using the REPL for? I'm not super familiar with the ‘send line’ concept, but it sounds like an interesting feature. I agree that syntax changes in a shell are a pain, so if an environment variable helps, it’s definitely worth using.
Yeah, I feel you on the REPL struggles! The lack of vi editing-mode makes it tough for me too. I ended up switching to ptpython or ipython instead. They have their quirks too, but at least they keep me productive.
I totally get what you mean. I miss some of the features from ipython, like prefix searching. It was super handy to cycle through previous imports without remembering the whole statement. I hope we see more features like venvs in the standard REPL!
For me, the REPL is mainly used as a calculator since my default calculator takes too long to load! Not the most innovative use, I know, but it works!

Related Questions
How To: Running Codex CLI on Windows with Azure OpenAI
Set Wordpress Featured Image Using Javascript
How To Fix PHP Random Being The Same
Why no WebP Support with Wordpress
Replace Wordpress Cron With Linux Cron
Customize Yoast Canonical URL Programmatically