Eric Smith <e...@trueblade.com> added the comment: The patch looks okay to me, and solves the issue on my Fedora box.
But perhaps a context manager in a "with" block would be clearer? I've attached a patch. ---------- Added file: http://bugs.python.org/file14908/issue6882-contextlib.diff _______________________________________ Python tracker <rep...@bugs.python.org> <http://bugs.python.org/issue6882> _______________________________________ _______________________________________________ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com