Filipe Laíns <la...@riseup.net> added the comment:

We do implement the protocol, and not TraversableResources, in some places, 
such as DegenerateFiles for eg. It seems to me that maybe that is an issue and 
we actually want to inherit from TraversableResources.

The question here is, are people supposed to be implementing readers with just 
files(), or are they always expected to inherit TraversableResources?

Regardless of the usefulness in code, please also consider type hinting. If 
people are expecting to be using this protocol, we should expose it.

----------

_______________________________________
Python tracker <rep...@bugs.python.org>
<https://bugs.python.org/issue44195>
_______________________________________
_______________________________________________
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com

Reply via email to