This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

Author FFY00
Recipients FFY00, brett.cannon, jaraco
Date 2021-05-23.15:48:36
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1621784916.48.0.309031361333.issue44195@roundup.psfhosted.org>
In-reply-to
Content
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.
History
Date User Action Args
2021-05-23 15:48:36FFY00setrecipients: + FFY00, brett.cannon, jaraco
2021-05-23 15:48:36FFY00setmessageid: <1621784916.48.0.309031361333.issue44195@roundup.psfhosted.org>
2021-05-23 15:48:36FFY00linkissue44195 messages
2021-05-23 15:48:36FFY00create