[issue3317] duplicate lines in zipfile.py

2008-07-12 Thread Alan McIntyre
Alan McIntyre <[EMAIL PROTECTED]> added the comment: Thanks for fixing this, Amaury. I ran the test_zipfile64 and test_zipfile tests on Linux and OS X, and they pass. ___ Python tracker <[EMAIL PROTECTED]> __

[issue3317] duplicate lines in zipfile.py

2008-07-11 Thread Amaury Forgeot d'Arc
Amaury Forgeot d'Arc <[EMAIL PROTECTED]> added the comment: Committed as 64880. -- status: open -> closed ___ Python tracker <[EMAIL PROTECTED]> ___ ___

[issue3317] duplicate lines in zipfile.py

2008-07-11 Thread Martin v. Löwis
Martin v. Löwis <[EMAIL PROTECTED]> added the comment: Amaury, as Alan is fine with these changes, feel free to apply them. -- assignee: loewis -> amaury.forgeotdarc resolution: -> accepted ___ Python tracker <[EMAIL PROTECTED]>

[issue3317] duplicate lines in zipfile.py

2008-07-08 Thread Alan McIntyre
Alan McIntyre <[EMAIL PROTECTED]> added the comment: The patch seems to work just fine for me, all tests pass (including test_zipfile64) on an Intel Mac. I'd vote to go ahead and revert the magicXXX variables back to their original names--I'm sure Twisted isn't the only project out there that ma

[issue3317] duplicate lines in zipfile.py

2008-07-08 Thread Amaury Forgeot d'Arc
Amaury Forgeot d'Arc <[EMAIL PROTECTED]> added the comment: Since the use of "from X import *" is discouraged (and serious projects try to avoid it), the __all__ list is less and less meaningful. ___ Python tracker <[EMAIL PROTECTED]>

[issue3317] duplicate lines in zipfile.py

2008-07-08 Thread Amaury Forgeot d'Arc
Amaury Forgeot d'Arc <[EMAIL PROTECTED]> added the comment: Sorry, here is the patch -- keywords: +patch Added file: http://bugs.python.org/file10852/zipfile-removedups.patch ___ Python tracker <[EMAIL PROTECTED]> __

[issue3317] duplicate lines in zipfile.py

2008-07-07 Thread Alan McIntyre
Alan McIntyre <[EMAIL PROTECTED]> added the comment: I don't see a patch attached, but the duplicated code does need removing. If you can attach a patch I'll try it out. As much as I dislike the "string" names (magicXXX seemed much more descriptive), I suppose they're publicly available and sho

[issue3317] duplicate lines in zipfile.py

2008-07-07 Thread Martin v. Löwis
Martin v. Löwis <[EMAIL PROTECTED]> added the comment: Alan, what do you think? -- nosy: +alanmcintyre ___ Python tracker <[EMAIL PROTECTED]> ___ __

[issue3317] duplicate lines in zipfile.py

2008-07-07 Thread Amaury Forgeot d'Arc
New submission from Amaury Forgeot d'Arc <[EMAIL PROTECTED]>: Since r64688, zipfile.py contains duplicated definitions. The attached patch removes them. Also, Twisted uses a zipfile item that have been renamed by this change: zipfile.stringFileHeader (now magicFileHeader). This makes some tests