[issue20886] Disabling logging to ~/.python_history is not simple enough

Arfrever Frehtes Taifersar Arahesis report at bugs.python.org
Mon Mar 10 22:00:50 CET 2014


Arfrever Frehtes Taifersar Arahesis added the comment:

I would suggest to support PYTHONHISTFILE variable (similar to HISTFILE and LESSHISTFILE) and to not replace file pointed by this variable.

This shows that file is being currently replaced:
# cp /dev/null .python_history
# LC_ALL="C" stat -c "%F" .python_history
character special file
# python3.4 -q
>>> ^D
# LC_ALL="C" stat -c "%F" .python_history
regular empty file

----------
nosy: +Arfrever

_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue20886>
_______________________________________


More information about the Python-bugs-list mailing list