Skip to content

Add is_resource() and contents()

Barry Warsaw requested to merge issue35 into master

The implementation is a little icky especially for zip files, but I think we can greatly improve the common case once we put ResourceReader in Python 3.7. That's because we can use the zipimporter's table of contents cache, so the common case won't have to crack open the zip file again to read the ToC. I think that's good enough for now.

Closes #35 (closed)

Merge request reports