[issue41562] StreamReaderProtocol inheritance

Dan Pascu report at bugs.python.org
Sat Nov 28 06:25:14 EST 2020


Dan Pascu <danpascu777 at gmail.com> 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 the Zen of Python?

Beautiful is better than ugly.
Simple is better than complex.
Flat is better than nested.
Readability counts.
If the implementation is hard to explain, it's a bad idea.

----------

_______________________________________
Python tracker <report at bugs.python.org>
<https://bugs.python.org/issue41562>
_______________________________________


More information about the Python-bugs-list mailing list