[New-bugs-announce] [issue35217] REPL history is broken when python is invoked with cmd /c
report at bugs.python.org
Mon Nov 12 08:23:21 EST 2018
New submission from 零欸特 <eight04 at gmail.com>:
Windows 7 x64
Python 3.7.1 (v3.7.1:260ec2c36a, Oct 20 2018, 14:57:15) [MSC v.1915 64 bit (AMD64)]
Steps to reproduce:
1. Create a script:
from subprocess import run
run(["cmd.exe", "/c", "python"])
2. Run the script.
The script will invoke Python REPL 3 times. The first and the third REPL don't save the command history. Pressing up/down arrows would clear the entire line. Pressing F7 has no effect.
The second REPL works fine.
Command history should work in all instances.
nosy: paul.moore, steve.dower, tim.golden, zach.ware, 零欸特
title: REPL history is broken when python is invoked with cmd /c
versions: Python 3.7
Python tracker <report at bugs.python.org>
More information about the New-bugs-announce