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 <>
Implementing that last option:

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

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