[issue13415] del os.environ[key] ignores errors

Charles-François Natali report at bugs.python.org
Wed Nov 23 09:22:44 CET 2011


Charles-François Natali <neologix at free.fr> added the comment:

> Oh, it looks like unsetenv() has no return value on Mac OS X Tiger

And neither does FreeBSD < 7:
http://python.org/dev/buildbot/all/builders/x86%20FreeBSD%206.4%203.x/builds/2015/steps/compile/logs/stdio

Note that ignoring unsetenv() return value is a bad idea:
http://xorl.wordpress.com/category/freebsd/page/2/

We could maybe add a configure-time check.

----------
nosy: +neologix

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


More information about the Python-bugs-list mailing list