[issue1526] DeprecationWarning in zipfile.py while zipping 113000 files

2011-05-26 Thread Amaury Forgeot d'Arc
Amaury Forgeot d'Arc added the comment: The ZIP file format is unable to store dates before 1980. With version 3.2, your script even raises an exception. Please file this in a different issue. -- nosy: +amaury.forgeotdarc ___ Python tracker

[issue1526] DeprecationWarning in zipfile.py while zipping 113000 files

2011-05-26 Thread Greg Steuck
Greg Steuck added the comment: There may be a related issue that I still hit with 2.6.5. % cat /tmp/a.py import zipfile import os z = zipfile.ZipFile('/tmp/a.zip', 'w') open("/tmp/a", "w") os.utime("/tmp/a", (0,0)) z.write("/tmp/a", "a") % python -V Python 2.6.5 % uname -mo x86_64 GNU/Linux %

[issue1526] DeprecationWarning in zipfile.py while zipping 113000 files

2008-07-03 Thread Martin v. Löwis
Martin v. Löwis <[EMAIL PROTECTED]> added the comment: The patch for issue1622 was committed as r64688; closing this patch as outdated. -- nosy: +loewis resolution: -> out of date status: open -> closed ___ Python tracker <[EMAIL PROTECTED]>

[issue1526] DeprecationWarning in zipfile.py while zipping 113000 files

2008-01-15 Thread Jesús Cea Avión
Changes by Jesús Cea Avión: -- nosy: +jcea __ Tracker <[EMAIL PROTECTED]> __ ___ Python-bugs-list mailing list Unsubscribe: http://mail.python

[issue1526] DeprecationWarning in zipfile.py while zipping 113000 files

2008-01-12 Thread Alan McIntyre
Alan McIntyre added the comment: I just noticed that my changes for this issue are included in the patch for issue 1622; if that gets committed then this issue should be closed. __ Tracker <[EMAIL PROTECTED]>

[issue1526] DeprecationWarning in zipfile.py while zipping 113000 files

2008-01-06 Thread Guido van Rossum
Guido van Rossum added the comment: Sounds like a plan. __ Tracker <[EMAIL PROTECTED]> __ ___ Python-bugs-list mailing list Unsubscribe: http://mail.py

[issue1526] DeprecationWarning in zipfile.py while zipping 113000 files

2008-01-06 Thread Alan McIntyre
Alan McIntyre added the comment: Oh thanks, I meant to ask whether or not the run time was too long, but forgot. Only running when -ulargefile is enabled seems fine to me. I can tweak the patch for that if you'd like; moving it to test_zipfile64 should do that, right? __

[issue1526] DeprecationWarning in zipfile.py while zipping 113000 files

2008-01-06 Thread Guido van Rossum
Guido van Rossum added the comment: I was about to check this in, when I noticed that the test runs for ~16 seconds on my state-of-the-arg hardware. I think that's too long. Perhaps it should only be run when -ulargefile is enabled? __ Tracker <[EMAIL PROTECTED]

[issue1526] DeprecationWarning in zipfile.py while zipping 113000 files

2008-01-06 Thread Alan McIntyre
Alan McIntyre added the comment: Here's a patch that just uses the "mod 64k" approach. If I get time to look at some other implementations, and find a better way to handle it, I'll submit an update. Otherwise, maybe on bug day people can try it out with a variety of archiving utilities to see i

[issue1526] DeprecationWarning in zipfile.py while zipping 113000 files

2008-01-05 Thread Guido van Rossum
Guido van Rossum added the comment: Sounds like a plan. Can you cook up a patch? Otherwise perhaps the Jan 19 bug day can look into this? -- priority: -> low __ Tracker <[EMAIL PROTECTED]>

[issue1526] DeprecationWarning in zipfile.py while zipping 113000 files

2008-01-05 Thread Alan McIntyre
Alan McIntyre added the comment: The reported warning was being produced when writing the "end of central directory record", in ZipFile.close(). Based on a little experiment with 70k test text files, the default archiver in OS X appears to just use the number of files mod 64k in the end of centr

[issue1526] DeprecationWarning in zipfile.py while zipping 113000 files

2007-11-30 Thread Guido van Rossum
Guido van Rossum added the comment: Hmm... Seems there's a 16-bit-wide field somewhere. How do other ZIP implementation deal with this? -- nosy: +gvanrossum __ Tracker <[EMAIL PROTECTED]>

[issue1526] DeprecationWarning in zipfile.py while zipping 113000 files

2007-11-30 Thread Alexander Belchenko
Changes by Alexander Belchenko: -- nosy: bialix severity: normal status: open title: DeprecationWarning in zipfile.py while zipping 113000 files type: behavior versions: Python 2.5 __ Tracker <[EMAIL PROTECTED]>

[issue1526] DeprecationWarning in zipfile.py while zipping 113000 files

2007-11-30 Thread Alexander Belchenko
New submission from Alexander Belchenko: C:\Python\2.5.1\lib\zipfile.py:719: DeprecationWarning: 'H' format requires 0 <= number <= 65535 0, 0, count, count, pos2 - pos1, pos1, 0) -- components: +Library (Lib) __ Tracker <[EMAIL PROTECTED]>