Author opensource-assist
Recipients opensource-assist
Date 2020-01-27.19:46:52
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <>
On a typical Linux system, if you run 'chattr +i /home/user/.python_history', and then run python, then exit, the following error message will be printed out:
Error in atexit._run_exitfuncs:
Traceback (most recent call last):
  File "/usr/local/lib/python3.9/", line 446, in write_history
OSError: [Errno -1] Unknown error -1

With a simple improvement, the site module can check and suggest the user to run 'chattr -i' on the .python_history file.

Additionaly, I don't know if it's a good idea to automatically run 'chattr -i' in such a situation or not.
Date User Action Args
2020-01-27 19:46:53opensource-assistsetrecipients: + opensource-assist
2020-01-27 19:46:52opensource-assistsetmessageid: <>
2020-01-27 19:46:52opensource-assistlinkissue39468 messages
2020-01-27 19:46:52opensource-assistcreate