Ned Deily added the comment: According to the Open Group Base Specification (Issue 7 2013 Issue):
"The setenv() function shall fail if: [EINVAL] The envname argument points to an empty string or points to a string containing an '=' character." So it seems to me that the issue here is that os.environ[''] attempts to allow you to create a environment variable with a null key. ---------- nosy: +ned.deily stage: -> test needed type: crash -> versions: +Python 3.4 _______________________________________ 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