Skip to content

Commit

Permalink
Fix issue #3644: PY38: web_protocol.RequestHandler mismatch _keepaliv…
Browse files Browse the repository at this point in the history
…e field with __slots__ (#3727)
  • Loading branch information
Artem Yushkovskiy authored and asvetlov committed May 6, 2019
1 parent 9504fe2 commit bfb99eb
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 @@ -106,7 +106,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 bfb99eb

Please sign in to comment.