[Bug 1968537] [NEW] python3.10 clears cli history at exit

Nicholas Guriev 1968537 at bugs.launchpad.net
Mon Apr 11 08:50:35 UTC 2022


Public bug reported:

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.

** Affects: python3.10 (Ubuntu)
     Importance: Undecided
         Status: New


** Tags: impish

-- 
You received this bug notification because you are a member of Ubuntu
Foundations Bugs, which is subscribed to python3.10 in Ubuntu.
https://bugs.launchpad.net/bugs/1968537

Title:
  python3.10 clears cli history at exit

Status in python3.10 package in Ubuntu:
  New

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.

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/python3.10/+bug/1968537/+subscriptions




More information about the foundations-bugs mailing list