Dmitry Vasiliev <d...@hlabs.spb.ru> added the comment: 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(). _______________________________________ Python tracker <rep...@bugs.python.org> <http://bugs.python.org/issue4718> _______________________________________ _______________________________________________ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com