This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

Author jaraco
Recipients christian.steinmeyer, jack__d, jaraco, xtreak
Date 2021-07-16.00:55:55
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1626396955.9.0.703331067879.issue44638@roundup.psfhosted.org>
In-reply-to
Content
This also reproduces the failure:

```
zip_file = zipfile.ZipFile('zipfile.zip')
path = zipfile.Path(zip_file)
name = zip_file.namelist()[0]
del path
zip_file.open(name)
```

Removing `del path` bypasses the issue. Something about the destructor for zipfile.Path is causing the closing of the handle for zip_file.
History
Date User Action Args
2021-07-16 00:55:55jaracosetrecipients: + jaraco, xtreak, jack__d, christian.steinmeyer
2021-07-16 00:55:55jaracosetmessageid: <1626396955.9.0.703331067879.issue44638@roundup.psfhosted.org>
2021-07-16 00:55:55jaracolinkissue44638 messages
2021-07-16 00:55:55jaracocreate