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.22:26:58
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1598480818.66.0.656358069378.issue40564@roundup.psfhosted.org>
In-reply-to
Content
Implementing that last option:

```
diff --git a/zipp.py b/zipp.py
index 697d4a9..f244cba 100644
--- a/zipp.py
+++ b/zipp.py
@@ -111,6 +111,7 @@ class CompleteDirs(zipfile.ZipFile):
 
         res = cls.__new__(cls)
         vars(res).update(vars(source))
+        res.close = lambda: None
         return res
 
 
```

Does appear to address the issue. I'm not super happy about the implementation, though.
History
Date User Action Args
2020-08-26 22:26:58jaracosetrecipients: + jaraco, xtreak, bustawin
2020-08-26 22:26:58jaracosetmessageid: <1598480818.66.0.656358069378.issue40564@roundup.psfhosted.org>
2020-08-26 22:26:58jaracolinkissue40564 messages
2020-08-26 22:26:58jaracocreate