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:
Most recent command is a = 1
In an interactive shell started as python3, pressing up results in a = 1 showing up.
In an interactive shell started as python3 -m better_exceptions, arrow up is not understood.
Execute b = 2 in a shell started with -m better_exceptions and close shell.
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:
a = 1
python3
, pressing up results ina = 1
showing up.python3 -m better_exceptions
, arrow up is not understood.b = 2
in a shell started with-m better_exceptions
and close shell.b = 2
is not stored in~/.python_history
.