Graham Dumpleton <graham.dumple...@gmail.com> added the comment:
I would say that using:
for item in self.generator:
would be a fairly common recipe for implementing WSGI middleware wrappers
wouldn't it. The generator which is wrapped by this could just as well be
start_response() on first call.
Couldn't a generator just as easily be streaming data as well and exhaust all
memory? Not sure I see the difference really.
Repoze Bugs <b...@bugs.repoze.org>
Repoze-dev mailing list