| FazBrowse GitHub Viewer | Trending | | Home |
| Tools: [Download Repo ZIP] [Original HTTPS Page] |
Sorry, something went wrong.
|
@layday do you have any suggestions? |
Sorry, something went wrong.
Signed-off-by: Filipe Laíns <lains@riseup.net>
|
I'd reword this completely - it's far too verbose and fails to get the message across: An abstract base class implementing :class:`importlib.abc.ResourceReader`
for :class:`importlib.abc.Traversable` objects, and defining one
abstract method, :meth:`files`, which must return such an object.
Loaders are expected to implement this ABC for resource reading,
instead of implementing :class:`importlib.abc.ResourceReader` directly,
to interface with :meth:`importlib.resources.files`.Document the files method: .. abstractmethod:: files()
An abstract method to return a :class:`importlib.abc.Traversable`
instance for the package's resources.Drag the ResourceReader section down underneath Traversable and remove the "superseded by" blurb from ResourceReader. The ResourceReader's description might also need adjusting. |
Sorry, something went wrong.
|
https://bugs.python.org/issue45516 is closed. What is the status of this PR? |
Sorry, something went wrong.
|
Hi @iritkatriel, it is still relevant, but I am not sure if I will pick this up again soon. |
Sorry, something went wrong.
|
Ok, I reopened the issue on GitHub. |
Sorry, something went wrong.
|
This PR is stale because it has been open for 30 days with no activity. |
Sorry, something went wrong.
Documentation build overview2 files changed ± library/importlib.resources.abc.html ± whatsnew/changelog.html |
Sorry, something went wrong.
| Back | FazBrowse Home | New Git URL |
This was my attempt at rewriting TraversableResources description to make it a bit clearer to people who are not familiar with the other protocols. I don't think I did a great job, but hopefully is a bit better.
Does anyone have any suggestions on how to improve this?
https://bugs.python.org/issue45516