summaryrefslogtreecommitdiffstats
path: root/Lib/test/test_importlib/test_resource.py
Commit message (Collapse)AuthorAgeFilesLines
* bpo-38693: Prefer f-strings in importlib.resources (importlib_resources ↵Miss Islington (bot)2021-05-261-1/+1
| | | | | | | | | | 5.0.6). (GH-26387) (#26389) Automerge-Triggered-By: GH:jaraco (cherry picked from commit f6fbdb90ee450ad693f7a7809035d0dc968f98b7) Co-authored-by: Jason R. Coombs <jaraco@jaraco.com> Co-authored-by: Jason R. Coombs <jaraco@jaraco.com>
* bpo-42129: Add support for resources in namespaces (GH-24670)Jason R. Coombs2021-03-041-80/+89
| | | | | * Unify behavior in ResourceReaderDefaultsTests and align with the behavior found in importlib_resources. * Equip NamespaceLoader with a NamespaceReader. * Apply changes from importlib_resources 5.0.4
* bpo-41490: ``path`` and ``contents`` to aggressively close handles (#22915)Jason R. Coombs2020-10-251-0/+79
| | | | | | | | | * bpo-41490: ``path`` method to aggressively close handles * Add blurb * In ZipReader.contents, eagerly evaluate the contents to release references to the zipfile. * Instead use _ensure_sequence to ensure any iterable from a reader is eagerly converted to a list if it's not already a sequence.
* bpo-33755: Fix importlib.resources isolation tests (#7412)Barry Warsaw2018-06-051-1/+5
|
* bpo-33254: do not return an empty list when asking for the contents of a ↵Brett Cannon2018-04-301-4/+3
| | | | namespace package (GH-6467)
* bpo-33151: Handle submodule resources (GH-6268)Barry Warsaw2018-03-271-1/+21
|
* Implement the get_resource_reader() API for file system imports (#5168)Barry Warsaw2018-01-151-1/+1
|
* bpo-32248 - Implement importlib.resources (#4911)Barry Warsaw2017-12-301-0/+143
Port importlib_resources to importlib.resources