Skip to content

Commit

Permalink
[3.5] [3.5] Fix issue #3644: PY38: web_protocol.RequestHandler mismat…
Browse files Browse the repository at this point in the history
…ch _keepalive field with __slots__ (#3727) (#3731)

(cherry picked from commit bfb99eb)

Co-authored-by: Artem Yushkovskiy <artem.yushkovskiy@neuromation.io>
(cherry picked from commit ff1c9de)

Co-authored-by: Artem Yushkovskiy <artem.yushkovskiy@neuromation.io>
  • Loading branch information
Artem Yushkovskiy authored and asvetlov committed May 8, 2019
1 parent 167fe9f commit 9509fd2
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
1 change: 1 addition & 0 deletions CHANGES/3644.bugfix
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
Fix _keepalive field in __slots__ of web_protocol.RequestHandler.
2 changes: 1 addition & 1 deletion aiohttp/web_protocol.py
Original file line number Diff line number Diff line change
Expand Up @@ -107,7 +107,7 @@ class RequestHandler(BaseProtocol):
"""
KEEPALIVE_RESCHEDULE_DELAY = 1

__slots__ = ('_request_count', '_keep_alive', '_manager',
__slots__ = ('_request_count', '_keepalive', '_manager',
'_request_handler', '_request_factory', '_tcp_keepalive',
'_keepalive_time', '_keepalive_handle', '_keepalive_timeout',
'_lingering_time', '_messages', '_message_tail',
Expand Down

0 comments on commit 9509fd2

Please sign in to comment.