This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

Author Arfrever
Recipients Arfrever, Sworddragon, pitrou, r.david.murray
Date 2014-03-11.02:38:55
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1394505536.57.0.277883471095.issue20886@psf.upfronthosting.co.za>
In-reply-to
Content
Antoine Pitrou:
> What sure not the "panic mode" is about, but in any case you can simply
> use e.g. "chmod 111 .python_history" (which will forbid both reading and writing the file).

It surely does not work:

$ rm -f .python_history
$ touch .python_history
$ chmod 111 .python_history
mode of ‘.python_history’ changed from 0640 (rw-r-----) to 0111 (--x--x--x)
$ python3.4 -q
>>> 123
123
>>> ^D
$ cat .python_history
123
$
History
Date User Action Args
2014-03-11 02:38:56Arfreversetrecipients: + Arfrever, pitrou, r.david.murray, Sworddragon
2014-03-11 02:38:56Arfreversetmessageid: <1394505536.57.0.277883471095.issue20886@psf.upfronthosting.co.za>
2014-03-11 02:38:56Arfreverlinkissue20886 messages
2014-03-11 02:38:55Arfrevercreate