[issue5837] support.EnvironmentVarGuard broken

Mark Dickinson report at bugs.python.org
Sat Apr 25 13:48:08 CEST 2009


Mark Dickinson <dickinsm at gmail.com> added the comment:

It looks like the unset method should check whether the variable
is set before trying to unset it.

Perhaps this also needs to happen in the __exit__ method?

----------

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


More information about the Python-bugs-list mailing list