Commit b6135d65 authored by Jason Madden's avatar Jason Madden

Comment-deprecate the undocumented rfile kwarg to WSGIHandler (not using the...

Comment-deprecate the undocumented rfile kwarg to WSGIHandler (not using the warnings module because this is a hot code path and also because DeprecationWarning is ignored by default under Py27 anyway) [skip ci]
parent 9f79cc0a
...@@ -341,6 +341,11 @@ class WSGIHandler(object): ...@@ -341,6 +341,11 @@ class WSGIHandler(object):
MessageClass = headers_factory MessageClass = headers_factory
def __init__(self, socket, address, server, rfile=None): def __init__(self, socket, address, server, rfile=None):
# Deprecation: The rfile kwarg was introduced in 1.0a1 as part
# of a refactoring. It was never documented or used. It is
# considered DEPRECATED and may be removed in the future. Its
# use is not supported.
self.socket = socket self.socket = socket
self.client_address = address self.client_address = address
self.server = server self.server = server
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment