[issue26560] Error in assertion in wsgiref.handlers.BaseHandler.start_response

2016-03-19 Thread Peter Inglesby
Peter Inglesby added the comment: I found it while reading the source. Patch attached. -- keywords: +patch Added file: http://bugs.python.org/file42188/issue26560.patch ___ Python tracker _

[issue26560] Error in assertion in wsgiref.handlers.BaseHandler.start_response

2016-03-19 Thread Roundup Robot
Roundup Robot added the comment: New changeset 60f01a8a71ef by Berker Peksag in branch '3.5': Issue #26560: Avoid potential ValueError in BaseHandler.start_response https://hg.python.org/cpython/rev/60f01a8a71ef New changeset ae1d12f09392 by Berker Peksag in branch 'default': Issue #26560: Avoid

[issue26560] Error in assertion in wsgiref.handlers.BaseHandler.start_response

2016-03-19 Thread Berker Peksag
Berker Peksag added the comment: Thanks for the patch, Peter! I've simplified the test a bit and commit it. -- resolution: -> fixed stage: needs patch -> resolved status: open -> closed ___ Python tracker

[issue26560] Error in assertion in wsgiref.handlers.BaseHandler.start_response

2016-03-16 Thread Berker Peksag
Berker Peksag added the comment: Thanks for the report. Can you give us a bit more information about the issue? Did you get a traceback? Or just noticed it while reading the source code? If you want to write a patch, please read the devguide. -- nosy: +berker.peksag priority: normal -

[issue26560] Error in assertion in wsgiref.handlers.BaseHandler.start_response

2016-03-15 Thread SilentGhost
Changes by SilentGhost : -- nosy: +pje type: -> behavior versions: +Python 3.6 ___ Python tracker ___ ___ Python-bugs-list mailing li

[issue26560] Error in assertion in wsgiref.handlers.BaseHandler.start_response

2016-03-14 Thread Peter Inglesby
New submission from Peter Inglesby: The line: assert int(status[:3]),"Status message must begin w/3-digit code" should be something like: assert status[:3].isnumeric(), "Status message must begin w/3-digit code" -- components: Library (Lib) messages: 261773 nosy: inglesp priority: