Serhiy Storchaka added the comment:

Thank you Benjamin for explanation.

Here is a patch which adds all three required checks in the close() method and 
adds a check for files count in write methods. Implementing other checks in 
write methods is too laborious.

As far as test_zipfile64 is disabled, for manual testing you need temporary 
comment out the "support.requires()" statement and run only selected tests:

./python -m test.regrtest -v -m OtherTests test_zipfile64

----------
keywords: +patch
stage: needs patch -> patch review
Added file: http://bugs.python.org/file36548/zipfile64_additional_checks.patch

_______________________________________
Python tracker <rep...@bugs.python.org>
<http://bugs.python.org/issue21866>
_______________________________________
_______________________________________________
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com

Reply via email to