[New-bugs-announce] [issue4330] wsgiref.validate doesn't accept arguments to readline

Ian Bicking report at bugs.python.org
Sun Nov 16 01:43:04 CET 2008


New submission from Ian Bicking <ianb at colorstudy.com>:

The method wsgiref.validate:InputWrapper.readline doesn't take any
arguments.  It should take an optional size argument.  Though this isn't
part of the WSGI specification, the cgi module uses this argument when
parsing the body, and in practice no applications that use
cgi.FieldStorage (which is most applications) are compatible with
wsgiref.validate as a result.  Simply adding a *args that is passed to
the underlying file fixes this.

----------
components: Library (Lib)
messages: 75920
nosy: ianb
severity: normal
status: open
title: wsgiref.validate doesn't accept arguments to readline
versions: Python 2.6

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


More information about the New-bugs-announce mailing list