diff options
author | Jason R. Coombs <jaraco@jaraco.com> | 2020-10-25 14:21:46 -0400 |
---|---|---|
committer | GitHub <noreply@github.com> | 2020-10-25 14:21:46 -0400 |
commit | df8d4c83a6e1727e766191896aeabde886979587 (patch) | |
tree | a286f28927d1cd736787880784d2c1af908b45b8 /Python/preconfig.c | |
parent | c32f2976b8f4034724c3270397aa16f38daf470f (diff) | |
download | cpython-df8d4c83a6e1727e766191896aeabde886979587.tar.gz cpython-df8d4c83a6e1727e766191896aeabde886979587.zip |
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.
Diffstat (limited to 'Python/preconfig.c')
0 files changed, 0 insertions, 0 deletions