[issue40175] Add support for removing zip entry in ZipInfo

2020-04-04 Thread nergall2
nergall2 added the comment: Sorry, I didn't see the old issue, let's move the discussion over there - https://bugs.python.org/issue6818 -- resolution: -> duplicate stage: patch review -> resolved status: open -> closed ___ Python tracker

[issue40175] Add support for removing zip entry in ZipInfo

2020-04-04 Thread Serhiy Storchaka
Serhiy Storchaka added the comment: There were other issues and discussions about this. The problem of removing a file from a ZIP archive is similar to the problem of removing a line from a file. It cannot be made efficiently, and it is not even always possible. In some cases it may be

[issue40175] Add support for removing zip entry in ZipInfo

2020-04-04 Thread Kyle Stanley
Kyle Stanley added the comment: Serhiy Storchaka wrote: > This is a duplicate of issue700858 and issue6818. It probably would have been better to mention it in issue6818, but IMO, those issues have been inactive long enough that it's reasonable to re-address the issue. zipfile is not an

[issue40175] Add support for removing zip entry in ZipInfo

2020-04-04 Thread Serhiy Storchaka
Serhiy Storchaka added the comment: This is a duplicate of issue700858 and issue6818. -- ___ Python tracker ___ ___

[issue40175] Add support for removing zip entry in ZipInfo

2020-04-03 Thread Kyle Stanley
Kyle Stanley added the comment: > ZipInfo currently only allow adding entries to zip archives but doesn't have > the ability to remove entries from them - pretty useful feature. This public API enhancement seems substantial enough to warrant a python-ideas ML thread or topic in the "Ideas"

[issue40175] Add support for removing zip entry in ZipInfo

2020-04-03 Thread nergall2
Change by nergall2 : -- keywords: +patch pull_requests: +18699 stage: -> patch review pull_request: https://github.com/python/cpython/pull/19336 ___ Python tracker ___

[issue40175] Add support for removing zip entry in ZipInfo

2020-04-03 Thread nergall2
New submission from nergall2 : ZipInfo currently only allow adding entries to zip archives but doesn't have the ability to remove entries from them - pretty useful feature. -- components: Library (Lib) messages: 365704 nosy: nergall2 priority: normal severity: normal status: open