cpython/Lib/importlib
Jason R. Coombs df8d4c83a6
bpo-41490: ``path`` and ``contents`` to aggressively close handles (#22915)
* 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.
2020-10-25 14:21:46 -04:00
..
__init__.py bpo-19468: delete unnecessary instance check in importlib.reload() (GH-19424) 2020-06-05 12:56:32 -07:00
_abc.py bpo-41006: importlib.util no longer imports typing (GH-20938) 2020-06-17 23:15:59 +02:00
_bootstrap.py
_bootstrap_external.py bpo-38605: bump the magic number for 'annotations' future (#22630) 2020-10-10 15:19:46 -07:00
_common.py bpo-41490: ``path`` and ``contents`` to aggressively close handles (#22915) 2020-10-25 14:21:46 -04:00
abc.py bpo-41006: importlib.util no longer imports typing (GH-20938) 2020-06-17 23:15:59 +02:00
machinery.py
metadata.py bpo-42089: Sync with current cpython branch of importlib_metadata (GH-22775) 2020-10-19 14:14:21 -07:00
readers.py bpo-41490: ``path`` and ``contents`` to aggressively close handles (#22915) 2020-10-25 14:21:46 -04:00
resources.py bpo-41490: ``path`` and ``contents`` to aggressively close handles (#22915) 2020-10-25 14:21:46 -04:00
util.py bpo-41006: importlib.util no longer imports typing (GH-20938) 2020-06-17 23:15:59 +02:00