STINNER Victor added the comment: "Please note that I have noticed this not because of setting it via `os.environ`, but because a program using `os.environ.clear()` crashed: https://bugs.launchpad.net/ubuntu/+source/apport/+bug/1281086"
The bug is not os.environ.clear(), but that os.environ contains an empty string. It would help to know if the key was set manually by apport, or if it comes from the real environment. The environment looks correct: https://launchpadlibrarian.net/166517334/ProcEnviron.txt ---------- _______________________________________ Python tracker <rep...@bugs.python.org> <http://bugs.python.org/issue20658> _______________________________________ _______________________________________________ Python-bugs-list mailing list Unsubscribe: https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com