Message78787
| Author |
hdima |
| Recipients |
grahamd, hdima, pitrou, pje |
| Date |
2009年01月02日.12:22:50 |
| SpamBayes Score |
0.010095884 |
| Marked as misclassified |
No |
| Message-id |
<495E0717.9070402@hlabs.spb.ru> |
| In-reply-to |
<1230852036.91.0.153383854132.issue4718@psf.upfronthosting.co.za> |
| Content |
Graham Dumpleton wrote:
> Thus have odd situation where with Python 3.0, one could technically return
> str as iterable, with rule that would apply would be that each str returned
> would then be converted to bytes by way of latin-1 conversion, but for
> bytes returned as iterable, should fail.
>
> Not sure how this plays out in wsgiref server yet as haven't looked.
If application return bytes instead of an iterable AssertionError will
be raised in handlers.BaseHandler.write(). |
|