Message289497
That's a great feature! Here's a question: what should be CPython's behavior when PYTHONHISTORY is explicitly set to empty? Currently there's an error:
$ PYTHONHISTORY= ./python
Python 3.7.0a0 (master:f6595983e08fe20cf06a2535d74d912c6dbb044f, Mar 12 2017, 19:22:29)
[GCC 6.3.1 20170306] on linux
Type "help", "copyright", "credits" or "license" for more information.
>>>
Error in atexit._run_exitfuncs:
FileNotFoundError: [Errno 2] No such file or directory
Maybe it's better to just disable the history functionality in this case?
By the way, seems comments starting from https://github.com/python/cpython/pull/473/files#diff-f34a16518c608b2ca946d3f5ca0a1942R419 should be updated too. |
|
Date |
User |
Action |
Args |
2017-03-12 11:42:51 | yan12125 | set | recipients:
+ yan12125, barry, serhiy.storchaka, 0xl3vi |
2017-03-12 11:42:51 | yan12125 | set | messageid: <1489318971.89.0.0703868184894.issue29779@psf.upfronthosting.co.za> |
2017-03-12 11:42:51 | yan12125 | link | issue29779 messages |
2017-03-12 11:42:51 | yan12125 | create | |
|