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]
http://bugs.python.org/issue3317
Amaury Forgeot d'Arc [EMAIL PROTECTED] added the comment:
Committed as 64880.
--
status: open - closed
___
Python tracker [EMAIL PROTECTED]
http://bugs.python.org/issue3317
___
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]
http://bugs.python.org/issue3317
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]
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
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
Martin v. Löwis [EMAIL PROTECTED] added the comment:
Alan, what do you think?
--
nosy: +alanmcintyre
___
Python tracker [EMAIL PROTECTED]
http://bugs.python.org/issue3317
___
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