<feed xmlns='http://www.w3.org/2005/Atom'>
<title>python.git/Modules/zipimport.c, branch v2.4a2</title>
<subtitle>Unnamed repository; edit this file 'description' to name the repository.</subtitle>
<id>http://dangofactory.net/cgit/cgit.cgi/Server/python.git/atom/Modules/zipimport.c?h=v2.4a2</id>
<link rel='self' href='http://dangofactory.net/cgit/cgit.cgi/Server/python.git/atom/Modules/zipimport.c?h=v2.4a2'/>
<link rel='alternate' type='text/html' href='http://dangofactory.net/cgit/cgit.cgi/Server/python.git/'/>
<updated>2003-09-07T13:36:48Z</updated>
<entry>
<title>Patch #801349: 64-bit fix for AMD64 from Gwenole Beauchesne.</title>
<updated>2003-09-07T13:36:48Z</updated>
<author>
<name>Just van Rossum</name>
<email>just@letterror.com</email>
</author>
<published>2003-09-07T13:36:48Z</published>
<link rel='alternate' type='text/html' href='http://dangofactory.net/cgit/cgit.cgi/Server/python.git/commit/?id=ee8f10fa37335cbbb8830c200edefd91605c22ac'/>
<id>urn:sha1:ee8f10fa37335cbbb8830c200edefd91605c22ac</id>
<content type='text'>
Classical problem with int vs. long mismatch in varargs.
2.3 backport candidate.
</content>
</entry>
<entry>
<title>Change the zipimport implementation to accept files containing</title>
<updated>2003-07-22T18:10:15Z</updated>
<author>
<name>Thomas Heller</name>
<email>theller@ctypes.org</email>
</author>
<published>2003-07-22T18:10:15Z</published>
<link rel='alternate' type='text/html' href='http://dangofactory.net/cgit/cgit.cgi/Server/python.git/commit/?id=354e3d90d346afdc6c70211b130aa76bb18e19ed'/>
<id>urn:sha1:354e3d90d346afdc6c70211b130aa76bb18e19ed</id>
<content type='text'>
arbitrary bytes before the actual zip compatible archive.  Zipfiles
containing comments at the end of the file are still not supported.

Add a testcase to test_zipimport, and update NEWS.

This closes sf #775637 and sf #669036.
</content>
</entry>
<entry>
<title>Remove unused variable.</title>
<updated>2003-07-17T15:56:07Z</updated>
<author>
<name>Jeremy Hylton</name>
<email>jeremy@alum.mit.edu</email>
</author>
<published>2003-07-17T15:56:07Z</published>
<link rel='alternate' type='text/html' href='http://dangofactory.net/cgit/cgit.cgi/Server/python.git/commit/?id=032fffefe69a0bb8b45a2efe3ceb5bc59ffb9850'/>
<id>urn:sha1:032fffefe69a0bb8b45a2efe3ceb5bc59ffb9850</id>
<content type='text'>
</content>
</entry>
<entry>
<title>Patch #734231: Update RiscOS support. In particular, correct</title>
<updated>2003-05-10T07:36:56Z</updated>
<author>
<name>Martin v. Löwis</name>
<email>martin@v.loewis.de</email>
</author>
<published>2003-05-10T07:36:56Z</published>
<link rel='alternate' type='text/html' href='http://dangofactory.net/cgit/cgit.cgi/Server/python.git/commit/?id=a94568a7535de60f1144e4eea0d027b87017a4b4'/>
<id>urn:sha1:a94568a7535de60f1144e4eea0d027b87017a4b4</id>
<content type='text'>
riscospath.extsep, and use os.extsep throughout.
</content>
</entry>
<entry>
<title>tentative fix for #712322: modification time stamp checking failed</title>
<updated>2003-04-08T20:07:15Z</updated>
<author>
<name>Just van Rossum</name>
<email>just@letterror.com</email>
</author>
<published>2003-04-08T20:07:15Z</published>
<link rel='alternate' type='text/html' href='http://dangofactory.net/cgit/cgit.cgi/Server/python.git/commit/?id=547eb42d75c888fa5ac43275d3cf874099ea0d78'/>
<id>urn:sha1:547eb42d75c888fa5ac43275d3cf874099ea0d78</id>
<content type='text'>
when DST began.
</content>
</entry>
<entry>
<title>Make private function and data static.</title>
<updated>2003-03-23T13:21:03Z</updated>
<author>
<name>Neal Norwitz</name>
<email>nnorwitz@gmail.com</email>
</author>
<published>2003-03-23T13:21:03Z</published>
<link rel='alternate' type='text/html' href='http://dangofactory.net/cgit/cgit.cgi/Server/python.git/commit/?id=29fd2baf82977e66f3ad3869e3d62f12e2200678'/>
<id>urn:sha1:29fd2baf82977e66f3ad3869e3d62f12e2200678</id>
<content type='text'>
</content>
</entry>
<entry>
<title>use proper constant instead of comment (noted by nnorwitz)</title>
<updated>2003-02-28T08:54:01Z</updated>
<author>
<name>Just van Rossum</name>
<email>just@letterror.com</email>
</author>
<published>2003-02-28T08:54:01Z</published>
<link rel='alternate' type='text/html' href='http://dangofactory.net/cgit/cgit.cgi/Server/python.git/commit/?id=f4ecc751b1c640ab7932be714b099d2eb326d6b3'/>
<id>urn:sha1:f4ecc751b1c640ab7932be714b099d2eb326d6b3</id>
<content type='text'>
</content>
</entry>
<entry>
<title>Fix 64-bit problem, ParseTuple("i") needs C ints; ("l") needs C longs.</title>
<updated>2003-02-18T03:37:49Z</updated>
<author>
<name>Neal Norwitz</name>
<email>nnorwitz@gmail.com</email>
</author>
<published>2003-02-18T03:37:49Z</published>
<link rel='alternate' type='text/html' href='http://dangofactory.net/cgit/cgit.cgi/Server/python.git/commit/?id=0c0aad948aa3bc3954514d842d28d08a6cc6112f'/>
<id>urn:sha1:0c0aad948aa3bc3954514d842d28d08a6cc6112f</id>
<content type='text'>
Use "l" as that *probably* makes more sense (at least to me it does :-)
And the test passes on the alpha.
</content>
</entry>
<entry>
<title>Use correct function name to PyArg_ParseTuple("is_package").</title>
<updated>2003-02-17T18:05:20Z</updated>
<author>
<name>Neal Norwitz</name>
<email>nnorwitz@gmail.com</email>
</author>
<published>2003-02-17T18:05:20Z</published>
<link rel='alternate' type='text/html' href='http://dangofactory.net/cgit/cgit.cgi/Server/python.git/commit/?id=5c1ba53f8ca219a22d964324abb76a055ad19feb'/>
<id>urn:sha1:5c1ba53f8ca219a22d964324abb76a055ad19feb</id>
<content type='text'>
Fix off-by-1 error in normalize_line_endings():
  when *p == '\0' the NUL was copied into q and q was auto-incremented,
  the loop was broken out of,
  then a newline was appended followed by a NUL.
  So the function, in effect, was strcpy() but added two extra chars
  which was caught by obmalloc in debug mode, since there was only
  room for 1 additional newline.

Get test working under regrtest (added test_main).
</content>
</entry>
<entry>
<title>Fix for bug #661136</title>
<updated>2003-01-03T11:18:56Z</updated>
<author>
<name>Just van Rossum</name>
<email>just@letterror.com</email>
</author>
<published>2003-01-03T11:18:56Z</published>
<link rel='alternate' type='text/html' href='http://dangofactory.net/cgit/cgit.cgi/Server/python.git/commit/?id=9a3129c14866f21ce3cee053c085db374cb61b78'/>
<id>urn:sha1:9a3129c14866f21ce3cee053c085db374cb61b78</id>
<content type='text'>
Lesson learned: kids should not be allowed to use API's starting
with an underscore :-/
zipimport in 2.3a1 is even more broken than I thought: I attemped
to _PyString_Resize a string created by PyString_FromStringAndSize,
which fails for strings with length 0 or 1 since the latter returns
an interned string in those cases. This would cause a SystemError
with empty source files (and no matching pyc) in the zip archive.
I rewrote the offending code to simply allocate a new buffer and
avoid _PyString_Resize altogether.
Added a test that would've caught the problem.
</content>
</entry>
</feed>
