Skip to content

Not working with ~/.python_history #104

@IllDepence

Description

@IllDepence

Hi,

I noticed that on my system the interactive console launched as python3 -m better_exceptions does not interact with ~/.python_history—i.e., neither old commands can be retrieved by pressing the arrow up key, nor do executed commands get appended to ~/.python_history.

Example:

15992249591

  1. Most recent command is a = 1
  2. In an interactive shell started as python3, pressing up results in a = 1 showing up.
  3. In an interactive shell started as python3 -m better_exceptions, arrow up is not understood.
  4. Execute b = 2 in a shell started with -m better_exceptions and close shell.
  5. b = 2 is not stored in ~/.python_history.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions