Éric Araujo <mer...@netwok.org> added the comment: > I thought about having another class, but I couldn't come up with a > decent name for it (ResponseWithCloseHook?).
If it’s used together with the base Response class (I don’t have the details in memory anymore), you could try ClosingMixin or FileLikeMixin. ---------- _______________________________________ Python tracker <rep...@bugs.python.org> <http://bugs.python.org/issue12707> _______________________________________ _______________________________________________ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com