You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The readline method in the InputWrapper class in wsgiref.validate does
not accept any arguments and therefore is not compatible with the
"file-like" interface, where the readline method accepts an optional
"size" argument.
This breaks code that wraps file objects with their own wrapper class
and tries to call the readline method of the wrapped object with a
"size" argument.
"""The optional "size" argument to readline() is not supported, as it
may be complex for server authors to implement, and is not often used in
practice."""
The whole point of this code is to catch broken programs that pass an
argument to readline() -- they are not WSGI-compliant.
Note: these values reflect the state of the issue at the time it was migrated and might not reflect the current state.
Show more details
GitHub fields:
bugs.python.org fields:
The text was updated successfully, but these errors were encountered: