Message 235917 - Python tracker

Message235917

Author berker.peksag
Recipients adam-collard, berker.peksag, kedder, pje, tshepang
Date 2015-02-13.19:59:08
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1423857548.21.0.289086259391.issue17349@psf.upfronthosting.co.za>
In-reply-to
Content
I'm not sure this needs to be fixed in 2.7. I would only use demo_app to test WSGI servers. Otherwise, you need to create your own application. However, the code is correct in Python 3: https://hg.python.org/cpython/file/default/Lib/wsgiref/simple_server.py#l146

(Note: PEP 3333 is for Python 3. In Python 2, the correct quote is "When called by the server, the application object must return an iterable yielding zero or more strings." See PEP 333.)
History
Date User Action Args
2015-02-13 19:59:08berker.peksagsetrecipients: + berker.peksag, pje, adam-collard, tshepang, kedder
2015-02-13 19:59:08berker.peksagsetmessageid: <1423857548.21.0.289086259391.issue17349@psf.upfronthosting.co.za>
2015-02-13 19:59:08berker.peksaglinkissue17349 messages
2015-02-13 19:59:08berker.peksagcreate