[issue39468] .python_history write permission improvements

2020-01-31 Thread Aurora
Change by Aurora : -- pull_requests: -17675 ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: https://mail.pyt

[issue39468] .python_history write permission improvements

2020-01-31 Thread Aurora
Change by Aurora : -- pull_requests: +17677 pull_request: https://github.com/python/cpython/pull/18299 ___ Python tracker ___ ___ Py

[issue39468] .python_history write permission improvements

2020-01-31 Thread Aurora
Change by Aurora : -- pull_requests: -17589 ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: https://mail.pyt

[issue39468] .python_history write permission improvements

2020-01-31 Thread Aurora
Change by Aurora : -- pull_requests: -17674 ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: https://mail.pyt

[issue39468] .python_history write permission improvements

2020-01-31 Thread Aurora
Change by Aurora : -- pull_requests: +17675 pull_request: https://github.com/python/cpython/pull/39468 ___ Python tracker ___ ___ Py

[issue39468] .python_history write permission improvements

2020-01-31 Thread Aurora
Change by Aurora : -- pull_requests: +17674 pull_request: https://github.com/python/cpython/pull/18299 ___ Python tracker ___ ___ Py

[issue39468] .python_history write permission improvements

2020-01-28 Thread Eryk Sun
Eryk Sun added the comment: This issue is due to a bug in GNU Readline (actually GNU History). It's documented that write_history [1] returns an errno value. But the internal history_do_write [2] function in this case returns the value from a rename() system call, via the value from histfile

[issue39468] .python_history write permission improvements

2020-01-28 Thread Steven D'Aprano
Steven D'Aprano added the comment: Reporting a better error message than just "Unknown error -1" is a good idea. Stating "an error occurred..." is hardly any better. The correct error is, I think, "permission denied". Trying to diagnose the *specific* issue (read-only file? file owned by ano

[issue39468] .python_history write permission improvements

2020-01-27 Thread SilentGhost
SilentGhost added the comment: 1. Your PR contains unrelated changes 2. Please test your code: submitting syntactically incorrect code just wastes everyone's time -- nosy: +SilentGhost ___ Python tracker __

[issue39468] .python_history write permission improvements

2020-01-27 Thread Aurora
Change by Aurora : -- pull_requests: +17589 pull_request: https://github.com/python/cpython/pull/18210 ___ Python tracker ___ ___ Py

[issue39468] .python_history write permission improvements

2020-01-27 Thread Aurora
Change by Aurora : -- pull_requests: -17586 ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: https://mail.pyt

[issue39468] .python_history write permission improvements

2020-01-27 Thread Aurora
Change by Aurora : -- keywords: +patch pull_requests: +17586 stage: -> patch review pull_request: https://github.com/python/cpython/pull/18210 ___ Python tracker ___ _

[issue39468] .python_history write permission improvements

2020-01-27 Thread Aurora
Aurora added the comment: https://github.com/opensource-assist/cpython/blob/opensource-assist-patch-sitepy-1/Lib/site.py -- ___ Python tracker ___

[issue39468] .python_history write permission improvements

2020-01-27 Thread Aurora
New submission from Aurora : 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/site.py