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 Jeffrey.Kintscher, Nick Henderson, jaraco, rishi93
Date 2020-07-24.16:30:21
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1595608221.79.0.469491246322.issue41350@roundup.psfhosted.org>
In-reply-to
Content
This routine will repro the issue without relying on garbage collection to trigger the error:

```
import io
import zipfile
buf = io.BytesIO()
zf = zipfile.ZipFile(buf, mode='w')
zp = zipfile.Path(zf)
with zp.joinpath('zile-a').open('w') as fp:
    fp.write('contents of file-a')
zf.close()
buf.close()
zp.root.close()
```
History
Date User Action Args
2020-07-24 16:30:21jaracosetrecipients: + jaraco, Jeffrey.Kintscher, rishi93, Nick Henderson
2020-07-24 16:30:21jaracosetmessageid: <1595608221.79.0.469491246322.issue41350@roundup.psfhosted.org>
2020-07-24 16:30:21jaracolinkissue41350 messages
2020-07-24 16:30:21jaracocreate