Sam Thursfield added the comment:

Here's a patch which does the same thing but only for shutil.make_archive().

Note that the final output will still be non-deterministic if you use 
format=gztar because time.time() and the base_name argument get added to the 
gzip header. Might be nice to add an option to make that deterministic too, as 
a separate thing. This patch is useful to me as-is though.

----------
Added file: http://bugs.python.org/file39770/make_archive-stable-ordering.patch

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

Reply via email to