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

daniel hahler report at bugs.python.org
Wed Feb 19 14:21:18 CET 2014


daniel hahler 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

I cannot say how this unusual entry was added to the environment, but it showed up in `env` and therefore it is possible somehow.

----------

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


More information about the Python-bugs-list mailing list