Georg Brandl <ge...@python.org> added the comment: I agree with Sebastian that this is not a good use for a context manager.
---------- nosy: +georg.brandl resolution: -> rejected status: open -> closed _______________________________________ Python tracker <rep...@bugs.python.org> <http://bugs.python.org/issue2155> _______________________________________ _______________________________________________ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com