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: add same file name to zipfile ,result two files and same md5
Type: behavior Stage: resolved
Components: IO Versions: Python 3.6
process
Status: closed Resolution: not a bug
Dependencies: Superseder:
Assigned To: Nosy List: MasterZ, serhiy.storchaka
Priority: normal Keywords:

Created on 2018-11-01 04:31 by MasterZ, last changed 2022-04-11 14:59 by admin. This issue is now closed.

Files
File name Uploaded Description Edit
a.py MasterZ, 2018-11-01 04:31
Messages (2)
msg329041 - (view) Author: MasterZ (MasterZ) Date: 2018-11-01 04:31
step 1.I have one file named "1",then add this file to zipfile A.zip
step 2.then I have another file named "1" too but different content, and add this file to zipfile A.zip
result:in the A.zip exist 2 files both named "1" and both of their md5 is the name with step2's file
msg329047 - (view) Author: Serhiy Storchaka (serhiy.storchaka) * (Python committer) Date: 2018-11-01 06:48
This is expected behavior. When you have two entries with the same name, you can access by name only one of them.
History
Date User Action Args
2022-04-11 14:59:07adminsetgithub: 79311
2018-11-01 06:48:55serhiy.storchakasetstatus: open -> closed

nosy: + serhiy.storchaka
messages: + msg329047

resolution: not a bug
stage: resolved
2018-11-01 04:31:09MasterZcreate