Chris McDonough <chr...@plope.com> added the comment:
The intent here is to only unwind generators because they may be calling
start_response() as a side effect of the first iteration. While other
do that, I think they can lose, because this case is fairly uncommon, and the
side effect of not doing it is that profiling data is skewed.
Unwinding all iterables would mean running out of RAM when you unwound an
app_iter that happened to serve up e.g. a big file, which I think would be
than providing skewed profile data.
status: unread -> chatting
Repoze Bugs <b...@bugs.repoze.org>
Repoze-dev mailing list