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 bustawin, jaraco, xtreak
Date 2020-08-26.21:55:17
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1598478917.8.0.487416736443.issue40564@roundup.psfhosted.org>
In-reply-to
Content
I suspect the issue lies in how the CompleteDirs.make [replaces one instance with another](https://github.com/jaraco/zipp/blob/8ad959e61cd4be40baab93528775c2bf03c8f4e1/zipp.py#L112-L114) in order to provide a complete list of implied directories and to memoize the names lookup.

Because constructing a zipfile.Path object around a zipfile.ZipFile copies the underlying state, closing one will have the affect of closing the other.

I believe this issue is the same root issue as issue41350.
History
Date User Action Args
2020-08-26 21:55:17jaracosetrecipients: + jaraco, xtreak, bustawin
2020-08-26 21:55:17jaracosetmessageid: <1598478917.8.0.487416736443.issue40564@roundup.psfhosted.org>
2020-08-26 21:55:17jaracolinkissue40564 messages
2020-08-26 21:55:17jaracocreate