This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

classification
Title: Contrary to documentation, ZipFile.extract does not extract timestamps or other metadata
Type: behavior Stage:
Components: Library (Lib) Versions: Python 3.11, Python 3.10, Python 3.9
process
Status: open Resolution:
Dependencies: Superseder:
Assigned To: Nosy List: Malcolm Smith, alanmcintyre, sascha_silbe, serhiy.storchaka, twouters
Priority: normal Keywords:

Created on 2017-11-29 19:51 by Malcolm Smith, last changed 2022-04-11 14:58 by admin.

Messages (2)
msg307255 - (view) Author: Malcolm Smith (Malcolm Smith) Date: 2017-11-29 19:51
The documentation explicitly says "file information is extracted as accurately as possible". But the `zipfile` module doesn't actually extract any metadata at all. I assume this text was copied and pasted from the `tarfile` module, which does implement this.

Fixing the code is preferred to fixing the documentation.
msg307275 - (view) Author: Malcolm Smith (Malcolm Smith) Date: 2017-11-30 00:02
Related: Issue15795
History
Date User Action Args
2022-04-11 14:58:55adminsetgithub: 76351
2021-10-22 14:00:13iritkatrielsetversions: + Python 3.9, Python 3.10, Python 3.11, - Python 2.7, Python 3.5, Python 3.6
2018-11-13 13:32:31sascha_silbesetnosy: + sascha_silbe
2017-12-01 19:48:59SilentGhostsetnosy: + twouters, alanmcintyre, serhiy.storchaka
2017-11-30 00:02:51Malcolm Smithsetmessages: + msg307275
2017-11-29 19:51:55Malcolm Smithcreate