[issue30693] tarfile add uses random order

STINNER Victor report at bugs.python.org
Wed Jan 17 09:14:14 EST 2018


STINNER Victor <victor.stinner at gmail.com> added the comment:

The only warranty in that TarFile.getmembers(), TarFile.getnames() and ZipFile.infolist() returns members/names "in the same order as the members in the archive".

Currently, there is no warranty when packing, only on unpack.

----------
nosy: +vstinner

_______________________________________
Python tracker <report at bugs.python.org>
<https://bugs.python.org/issue30693>
_______________________________________


More information about the Python-bugs-list mailing list