[issue18610] wsgiref.validate expects wsgi.input read to give exactly one arg

PJ Eby report at bugs.python.org
Tue Feb 17 17:46:13 CET 2015


PJ Eby added the comment:

This is a misreading of the spec.  The read() method is defined as taking exactly one parameter.  The server *should* support it being optional, but the app invoking it without an argument is not compliant, and wsgiref.validate is validating that the *app* performs according to spec, not the server.

Therefore, the documentation is what's in error, not the code.

----------
assignee:  -> docs at python
components: +Documentation -Library (Lib)
nosy: +docs at python
stage: patch review -> needs patch

_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue18610>
_______________________________________


More information about the Python-bugs-list mailing list