Tarek Ziadé <ziade.ta...@gmail.com> added the comment:

by the way, I am not sure what you call a binary sirting of zip files (since 
two equivalent zip files can have different metadata) but if you mean comparing 
a unzip -l output, you could use zipinfo instead, to sort the output.

Overall, you need to compare the size and CRC of each file. I don't know if 
zipinfo does this.

Maybe this could be a feature in the zipfile module in python. a same_archive() 
function.

----------

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

Reply via email to