<feed xmlns='http://www.w3.org/2005/Atom'>
<title>python.git/Lib/zipfile.py, branch v2.4.4</title>
<subtitle>Python interpreter</subtitle>
<id>http://dangofactory.net/cgit/cgit.cgi/Server/python.git/atom/Lib/zipfile.py?h=v2.4.4</id>
<link rel='self' href='http://dangofactory.net/cgit/cgit.cgi/Server/python.git/atom/Lib/zipfile.py?h=v2.4.4'/>
<link rel='alternate' type='text/html' href='http://dangofactory.net/cgit/cgit.cgi/Server/python.git/'/>
<updated>2005-02-16T09:30:17Z</updated>
<entry>
<title>Remove dependency on order of mode flags</title>
<updated>2005-02-16T09:30:17Z</updated>
<author>
<name>Raymond Hettinger</name>
<email>python@rcn.com</email>
</author>
<published>2005-02-16T09:30:17Z</published>
<link rel='alternate' type='text/html' href='http://dangofactory.net/cgit/cgit.cgi/Server/python.git/commit/?id=62f48abab3aac26a60486b737535f513cb3e08bf'/>
<id>urn:sha1:62f48abab3aac26a60486b737535f513cb3e08bf</id>
<content type='text'>
</content>
</entry>
<entry>
<title>Don't choke on modes like rb or wb.</title>
<updated>2004-11-06T00:31:51Z</updated>
<author>
<name>Raymond Hettinger</name>
<email>python@rcn.com</email>
</author>
<published>2004-11-06T00:31:51Z</published>
<link rel='alternate' type='text/html' href='http://dangofactory.net/cgit/cgit.cgi/Server/python.git/commit/?id=8a92dd5866061211d80ee4f61ae091aa4e0fdb5d'/>
<id>urn:sha1:8a92dd5866061211d80ee4f61ae091aa4e0fdb5d</id>
<content type='text'>
</content>
</entry>
<entry>
<title>Make struct formats for specifying file size to be unsigned instead of signed</title>
<updated>2004-07-10T19:09:20Z</updated>
<author>
<name>Brett Cannon</name>
<email>bcannon@gmail.com</email>
</author>
<published>2004-07-10T19:09:20Z</published>
<link rel='alternate' type='text/html' href='http://dangofactory.net/cgit/cgit.cgi/Server/python.git/commit/?id=ff450f7512900eb883576109b53f0aa3ebc76a0a'/>
<id>urn:sha1:ff450f7512900eb883576109b53f0aa3ebc76a0a</id>
<content type='text'>
(ZIP file spec. says in section K, "General notes" in point 1 that unless
specified otherwise values are unsigned and they are not specified as signed in
the spec).

Closes bug #679953.  Thanks Jimmy Burgett.
</content>
</entry>
<entry>
<title>[Bug #835415] AIX can return modes that are &gt;65536, which causes an OverflowError.  Fix from Albert Chin</title>
<updated>2004-07-10T15:40:29Z</updated>
<author>
<name>Andrew M. Kuchling</name>
<email>amk@amk.ca</email>
</author>
<published>2004-07-10T15:40:29Z</published>
<link rel='alternate' type='text/html' href='http://dangofactory.net/cgit/cgit.cgi/Server/python.git/commit/?id=55430213c55b74a256e0b7e3f35234249b574a9b'/>
<id>urn:sha1:55430213c55b74a256e0b7e3f35234249b574a9b</id>
<content type='text'>
</content>
</entry>
<entry>
<title>SF patch #756996: Bare except in ZipFile.testzip()</title>
<updated>2003-06-27T22:25:03Z</updated>
<author>
<name>Raymond Hettinger</name>
<email>python@rcn.com</email>
</author>
<published>2003-06-27T22:25:03Z</published>
<link rel='alternate' type='text/html' href='http://dangofactory.net/cgit/cgit.cgi/Server/python.git/commit/?id=c0fac96c29a3842d9370e4c954ae1f4d57f849d0'/>
<id>urn:sha1:c0fac96c29a3842d9370e4c954ae1f4d57f849d0</id>
<content type='text'>
(Contributed by Steven Taschuk)

Replaces a bare except that caused all errors to be mis-reported as
archive errors.

Added a related NEWS item.
</content>
</entry>
<entry>
<title>Remove debug print on filename with NUL byte.</title>
<updated>2003-06-18T00:54:28Z</updated>
<author>
<name>Greg Ward</name>
<email>gward@python.net</email>
</author>
<published>2003-06-18T00:54:28Z</published>
<link rel='alternate' type='text/html' href='http://dangofactory.net/cgit/cgit.cgi/Server/python.git/commit/?id=9b1587836992c460d213b9bbc6f539516139bdf2'/>
<id>urn:sha1:9b1587836992c460d213b9bbc6f539516139bdf2</id>
<content type='text'>
</content>
</entry>
<entry>
<title>SF patch #755987 (Jim Ahlstrom):</title>
<updated>2003-06-18T00:53:06Z</updated>
<author>
<name>Greg Ward</name>
<email>gward@python.net</email>
</author>
<published>2003-06-18T00:53:06Z</published>
<link rel='alternate' type='text/html' href='http://dangofactory.net/cgit/cgit.cgi/Server/python.git/commit/?id=8e36d28f3c082d7c10e5d7cbbb5301ec6e0d7d32'/>
<id>urn:sha1:8e36d28f3c082d7c10e5d7cbbb5301ec6e0d7d32</id>
<content type='text'>
This is a patch for Bug 755031: If a null byte appears in
a file name, Python zipfile.py retains it, but InfoZip
terminates the name. Null bytes in file names are used
as a trick by viruses. I tested WinZip, and it also
truncates the file name at the null byte.

The patch also fixes a buglet: If a zipfile incorrectly
uses a directory separator other than '/', there was an
invalid complaint that the central directory name does
not match the file header name.

I also removed my name from the top of the file. It was
there for legal reasons which I believe no longer apply.
Many people have worked on this file besides me.
</content>
</entry>
<entry>
<title>Patch #661719: Expose compilation errors as exceptions on request.</title>
<updated>2003-01-15T11:51:06Z</updated>
<author>
<name>Martin v. Löwis</name>
<email>martin@v.loewis.de</email>
</author>
<published>2003-01-15T11:51:06Z</published>
<link rel='alternate' type='text/html' href='http://dangofactory.net/cgit/cgit.cgi/Server/python.git/commit/?id=0c6774d92b48c4c4097a3a3bea2294093092e4e3'/>
<id>urn:sha1:0c6774d92b48c4c4097a3a3bea2294093092e4e3</id>
<content type='text'>
</content>
</entry>
<entry>
<title>Patch #651621, approved by MvL.</title>
<updated>2002-12-12T12:23:32Z</updated>
<author>
<name>Just van Rossum</name>
<email>just@letterror.com</email>
</author>
<published>2002-12-12T12:23:32Z</published>
<link rel='alternate' type='text/html' href='http://dangofactory.net/cgit/cgit.cgi/Server/python.git/commit/?id=b083cb3901fcb7487c04ad996148d1cf0aa32350'/>
<id>urn:sha1:b083cb3901fcb7487c04ad996148d1cf0aa32350</id>
<content type='text'>
This patch allows ZipFile.writestr() to be called with
an archive file name instead of a ZipInfo instance:

z = ZipFile("myarchive.zip", "w")
z.writestr("foo/baz/file.ext", data)
z.close()

I found the old writestr() method very inconvenient
for simple (but common) things.

If called with a file name instead of a ZipInfo
instance, the date_time is set to the current date/time,
which makes sense to me for anonymous data.
</content>
</entry>
<entry>
<title>Patch #611760: read archives with comments.</title>
<updated>2002-10-13T13:54:50Z</updated>
<author>
<name>Martin v. Löwis</name>
<email>martin@v.loewis.de</email>
</author>
<published>2002-10-13T13:54:50Z</published>
<link rel='alternate' type='text/html' href='http://dangofactory.net/cgit/cgit.cgi/Server/python.git/commit/?id=6f6873baa1b0bad2cf91ae58982ca161b3e8a5b0'/>
<id>urn:sha1:6f6873baa1b0bad2cf91ae58982ca161b3e8a5b0</id>
<content type='text'>
</content>
</entry>
</feed>
