Mark Dickinson <dicki...@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 <rep...@bugs.python.org> <http://bugs.python.org/issue5837> _______________________________________ _______________________________________________ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com