On Fri, 10 Mar 2023 at 12:56, Greg Ewing via Python-list <python-list@python.org> wrote: > > On 10/03/23 1:46 pm, Grant Edwards wrote: > > That's not how it acts for me. I have to "import readline" to get > > command line recall and editing. > > Maybe this has changed? Or is platform dependent? > > With Python 3.8 on MacOSX I can use up arrow with input() > to recall stuff I've typed before, without having to > import anything. >
import sys; "readline" in sys.modules Is it? Might be that something's pre-importing it. ChrisA -- https://mail.python.org/mailman/listinfo/python-list