This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

Author 零欸特
Recipients paul.moore, steve.dower, tim.golden, zach.ware, 零欸特
Date 2018-11-12.13:23:20
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1542029001.03.0.788709270274.issue35217@psf.upfronthosting.co.za>
In-reply-to
Content
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"])
    run(["python"])
    run("python", shell=True)
    ```
2. Run the script.

Actual result:

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.

Expected result:

Command history should work in all instances.
History
Date User Action Args
2018-11-12 13:23:21零欸特setrecipients: + 零欸特, paul.moore, tim.golden, zach.ware, steve.dower
2018-11-12 13:23:21零欸特setmessageid: <1542029001.03.0.788709270274.issue35217@psf.upfronthosting.co.za>
2018-11-12 13:23:20零欸特linkissue35217 messages
2018-11-12 13:23:20零欸特create