Message110014
| Author |
rfk |
| Recipients |
dsamersoff, georg.brandl, rfk, terry.reedy |
| Date |
2010年07月11日.14:24:01 |
| SpamBayes Score |
0.016804324 |
| Marked as misclassified |
No |
| Message-id |
<1278858251.64.0.536858112608.issue5950@psf.upfronthosting.co.za> |
| In-reply-to |
| Content |
Attached is my attempt at a patch for this functionality, along with some simple tests. This basically mirrors what's done in zipfile.py, searching backwards through the file until it finds the end-of-central-directory marker. It tries to be memory conscious by reading in small chunks.
Patch is against trunk; I've also tested it against 2.7 and it seems to work. Any chance of it being backported into 2.7?
Also wanted to mention a real-world usecase for this functionality. I want to digitally sign a frozen python program with appended zipfile, which involves appending the signature to the EXE. Simple to do if only zipimport would support appended comments. |
|
History
|
|---|
| Date |
User |
Action |
Args |
| 2010年07月11日 14:24:11 | rfk | set | recipients:
+ rfk, georg.brandl, terry.reedy, dsamersoff |
| 2010年07月11日 14:24:11 | rfk | set | messageid: <1278858251.64.0.536858112608.issue5950@psf.upfronthosting.co.za> |
| 2010年07月11日 14:24:04 | rfk | link | issue5950 messages |
| 2010年07月11日 14:24:03 | rfk | create |
|