[issue12198] zipfile.py:1047: DeprecationWarning: 'H' format requires 0 <= number <= 65535

2011-07-06 Thread Petri Lehtinen
Petri Lehtinen added the comment: Setting as duplicate of #6090. -- resolution: -> duplicate status: open -> closed superseder: -> zipfile: Bad error message when zipping a file with timestamp before 1980 ___ Python tracker

[issue12198] zipfile.py:1047: DeprecationWarning: 'H' format requires 0 <= number <= 65535

2011-06-07 Thread Antoine Pitrou
Changes by Antoine Pitrou : -- nosy: +amaury.forgeotdarc ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: http:/

[issue12198] zipfile.py:1047: DeprecationWarning: 'H' format requires 0 <= number <= 65535

2011-06-03 Thread Terry J. Reedy
Changes by Terry J. Reedy : -- nosy: +alanmcintyre versions: +Python 2.7 -Python 2.6 ___ Python tracker ___ ___ Python-bugs-list maili

[issue12198] zipfile.py:1047: DeprecationWarning: 'H' format requires 0 <= number <= 65535

2011-05-30 Thread Petri Lehtinen
Petri Lehtinen added the comment: On 2.7, your example raises an error: Traceback (most recent call last): File "a.py", line 7, in z.write("a", "a") File "/home/petri/tmp/cpython/cpython/Lib/zipfile.py", line 1071, in write self.fp.write(zinfo.FileHeader()) File "/home/petri/tmp/

[issue12198] zipfile.py:1047: DeprecationWarning: 'H' format requires 0 <= number <= 65535

2011-05-27 Thread Greg Steuck
New submission from Greg Steuck : zipfile.py displays warning when trying to write files timestamped before 1980. % 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