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 yan12125
Recipients 0xl3vi, barry, serhiy.storchaka, yan12125
Date 2017-03-12.11:42:51
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1489318971.89.0.0703868184894.issue29779@psf.upfronthosting.co.za>
In-reply-to
Content
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.
History
Date User Action Args
2017-03-12 11:42:51yan12125setrecipients: + yan12125, barry, serhiy.storchaka, 0xl3vi
2017-03-12 11:42:51yan12125setmessageid: <1489318971.89.0.0703868184894.issue29779@psf.upfronthosting.co.za>
2017-03-12 11:42:51yan12125linkissue29779 messages
2017-03-12 11:42:51yan12125create