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: normal
severity: normal
status: open
title: Error in assertion in wsgiref.handlers.BaseHandler.start_response

_______________________________________
Python tracker <rep...@bugs.python.org>
<http://bugs.python.org/issue26560>
_______________________________________
_______________________________________________
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com

Reply via email to