Author rschoon
Recipients pje, rschoon
Date 2014-07-02.21:54:21
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1404338061.72.0.461986368187.issue21890@psf.upfronthosting.co.za>
In-reply-to
Content
Fair enough, I misled myself.

However, and I feel like I'm getting really picky here, but it still doesn't fulfill the paragraph I quoted:

    def application(environ, start_response):
        start_response('200 OK',
                   [('Content-type', 'text/plain')])
        yield b''

        try:
            # produce an exception tuple, so we can re-call s_r
            raise RuntimeError
        except RuntimeError:
            # Headers shouldn't have been sent, but they were
            # so this will throw:
            start_response('200 OK',
                           [('Content-type', 'text/plain')],
                           sys.exc_info())
        yield b'error data or whatever'

But if async support a foregone conclusion anyway, is it worth bothering complying with that odd requirement?
History
Date User Action Args
2014-07-02 21:54:21rschoonsetrecipients: + rschoon, pje
2014-07-02 21:54:21rschoonsetmessageid: <1404338061.72.0.461986368187.issue21890@psf.upfronthosting.co.za>
2014-07-02 21:54:21rschoonlinkissue21890 messages
2014-07-02 21:54:21rschooncreate