Join GitHub today
GitHub is home to over 40 million developers working together to host and review code, manage projects, and build software together.Sign up
BUG, EASY, PY38: web_protocol.RequestHandler mismatch _keepalive field with __slots__ #3644
Long story short
In Python 3.7, this appears to be ok because instances are getting a
The slots declaration in
This code was added in #3095.
In Python 3.8 requests to the aiohttp web server should succeed.
In Python 3.8, requests fail with this traceback:
Immediately at the offending line (in a debugger), the
This leads me to suspect that something might have changed with either
Regardless, the name mismatch of the field must still be fixed.
Steps to reproduce
Server code with: