[issue17349] wsgiref.simple_server.demo_app is not PEP-3333 compatible

2019-04-25 Thread Berker Peksag
Berker Peksag added the comment: Closing this as 'not a bug' since examples in both branches are correct. Thank you for the report! -- resolution: -> not a bug stage: patch review -> resolved status: open -> closed ___ Python tracker

[issue17349] wsgiref.simple_server.demo_app is not PEP-3333 compatible

2015-02-13 Thread Berker Peksag
Berker Peksag added the comment: 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:

[issue17349] wsgiref.simple_server.demo_app is not PEP-3333 compatible

2013-07-18 Thread Ezio Melotti
Changes by Ezio Melotti ezio.melo...@gmail.com: -- stage: - patch review ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue17349 ___ ___

[issue17349] wsgiref.simple_server.demo_app is not PEP-3333 compatible

2013-07-06 Thread Adam Collard
Changes by Adam Collard adam.coll...@gmail.com: -- nosy: +adam-collard ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue17349 ___ ___

[issue17349] wsgiref.simple_server.demo_app is not PEP-3333 compatible

2013-07-06 Thread Adam Collard
Adam Collard added the comment: Since this bug depends on a __future__ import I was advised to put the test in a separate file. -- Added file: http://bugs.python.org/file30815/issue-17349-wsgiref ___ Python tracker rep...@bugs.python.org

[issue17349] wsgiref.simple_server.demo_app is not PEP-3333 compatible

2013-03-08 Thread Tshepang Lekhonkhobe
Changes by Tshepang Lekhonkhobe tshep...@gmail.com: -- nosy: +pje, tshepang ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue17349 ___ ___

[issue17349] wsgiref.simple_server.demo_app is not PEP-3333 compatible

2013-03-04 Thread Andrey Lebedev
New submission from Andrey Lebedev: Under certain circumstances, wsgiref.simple_server.demo_app may return unicode data, but that is prohibited by PEP-. This happens if environ with unicode key is passed to demo_app. Unicode keys are then written to StringIO instance, automatically making