Irit Katriel <iritkatr...@gmail.com> added the comment:
Have you tried Mark Tolonen's suggestion on the stack overflow question, to set the instance variables to None in __exit__? ---------- nosy: +iritkatriel resolution: -> not a bug status: open -> pending _______________________________________ Python tracker <rep...@bugs.python.org> <https://bugs.python.org/issue28970> _______________________________________ _______________________________________________ Python-bugs-list mailing list Unsubscribe: https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com