[issue41562] StreamReaderProtocol inheritance

2020-11-28 Thread Dan Pascu
Dan Pascu added the comment: While it may not be affected at a functional level (at least not in a way I can see right now), it is confusing when reading that code. Isn't clarity and avoiding confusion a desired trait for core python code? What about all these recommendations from th

[issue41562] StreamReaderProtocol inheritance

2020-08-15 Thread Dan Pascu
New submission from Dan Pascu : I noticed that StreamReaderProtocol is defined like this: class StreamReaderProtocol(FlowControlMixin, protocols.Protocol): ... but FlowControlMixin already inherits protocols.Protocol: class FlowControlMixin(protocols.Protocol): ... It seems