[issue20658] os.environ.clear() fails with empty keys (posix.unsetenv)

daniel hahler report at bugs.python.org
Wed Feb 19 14:32:15 CET 2014


daniel hahler added the comment:

> 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:

It comes from the real environment.

I wanted to use apport, but could not from the current shell, because of this bug.

I had then looked at the output of `env` in this shell, and it contained just "=" (IIRC, but an empty name/key for sure). This was in a tmux shell/pane, which I have closed already.

----------

_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue20658>
_______________________________________


More information about the Python-bugs-list mailing list