Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[PR #6916/abafcdac backport][3.9] Add missing __repr__ to streams.Emp…
…tyStreamReader (#7106) **This is a backport of PR #6916 as merged into master (abafcda).** **EmptyStreamReader** currently inherits `__repr__` from **StreamReader** , which then tries to access non-existing fields, causing AttributeErrors. The bug causes issues like this in upstream code: miguelgrinberg/python-socketio#1032 This PR adds a custom `__repr__` to EmptyStreamReader to fix the problem. Co-authored-by: elonen <elonen@iki.fi>
- Loading branch information