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: ZipFile CallBack Needed...
Type: enhancement Stage: test needed
Components: Library (Lib) Versions: Python 3.2
process
Status: closed Resolution: rejected
Dependencies: Superseder:
Assigned To: Nosy List: durumdara, jimjjewett, terry.reedy
Priority: normal Keywords:

Created on 2007-06-08 07:54 by durumdara, last changed 2022-04-11 14:56 by admin. This issue is now closed.

Messages (3)
msg55138 - (view) Author: durumdara (durumdara) Date: 2007-06-08 07:54
Hi!

I wrote about this here:
http://groups.google.com/group/comp.lang.python/browse_thread/thread/f08c37f30b654746/a0fe8ab504b3b702
And here:
http://groups.google.com.kh/group/comp.lang.python/browse_thread/thread/c6069d12273025bf/18b9b1c286d9af7b?lnk=st&q=python+zip+callback&rnum=1#18b9b1c286d9af7b

So need a little modification in ZipFile module to get more control on compression.
A callback procedure needed to:
- I show progress bar when I compress a file
- I can abort the whole compression procedure
When I compress little files, no problem.

But when compress large files, I lost the control, and I don't know (I can't show) the compression progress, and the remaining bytes.

I can change this in my app only, but if I installed a new Python I lost it everytime... :-(

Thanks for your help:
dd
msg55139 - (view) Author: Jim Jewett (jimjjewett) Date: 2007-06-15 15:06
Does the fact that """I can change this in my app only, but if I installed a new Python I lost it
everytime...""" mean that you already have a patch?

Patches get applied faster than feature requests get worked on...
msg113373 - (view) Author: Terry J. Reedy (terry.reedy) * (Python committer) Date: 2010-08-09 04:07
I think this should be closed unless OP shows current interest. I do not think the ziplib is meant to be interactive, so I am dubious this would get accepted.
History
Date User Action Args
2022-04-11 14:56:24adminsetgithub: 45056
2010-11-12 04:57:25terry.reedysetstatus: pending -> closed
resolution: rejected
2010-08-09 04:07:17terry.reedysetstatus: open -> pending
versions: + Python 3.2, - Python 3.1, Python 2.7
nosy: + terry.reedy

messages: + msg113373
2009-04-06 09:42:08ajaksu2setstage: test needed
versions: + Python 3.1, Python 2.7
2007-06-08 07:54:56durumdaracreate