python3.10 clears cli history at exit

Bug #1968537 reported by Nicholas Guriev
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
python3.10 (Ubuntu)
New
Undecided
Unassigned

Bug Description

python3.10 overwrites the ~/.python_history file with line '_HiStOrY_V2_' effectively clearing any command line history.

Steps to reproduce:

1. Run python3.10 interpreter, type there 'copyright()' command (with no quotes).
2. Exit by pressing Ctrl-D.
3. Run the interpreter again.
4. Press Up arrow to see previous command.

Expected behaviour:

1. You see early typed 'copyright()' in the command line.

Actual behaviour:

1. Nothing appears, CLI history is clean.

Tags: impish
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.