[Web-SIG] Emulating req.write() in WSGI

Dirkjan Ochtman dirkjan at ochtman.nl
Tue Jul 6 13:02:32 CEST 2010

On Tue, Jul 6, 2010 at 12:50, Graham Dumpleton
<graham.dumpleton at gmail.com> wrote:
> In the code example I posted I never had a 'return' statement in same
> function as 'yield'. You shouldn't be mixing the two.

Well, you can still use bare "return" as a way of raising StopIteration.



More information about the Web-SIG mailing list