This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

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().
History
Date User Action Args
2009-01-02 12:22:52hdimasetrecipients: + hdima, pje, pitrou, grahamd
2009-01-02 12:22:51hdimalinkissue4718 messages
2009-01-02 12:22:50hdimacreate