Shashank <shashank.sunny.si...@gmail.com> added the comment:

Attached is a patch with changes in Lib/test/test_zipfile.py to test both C and 
pure-py impls (on systems where the C impl is present).

Admittedly, this approach to emulating the absence of C impl is a bit hacky. 
This is primarily because the changed class is not a part of the public API and 
hence not being tested directly.

David, could you verify that the approach is ok?

----------
Added file: http://bugs.python.org/file19196/zipdecrypt.patch

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

Reply via email to