<feed xmlns='http://www.w3.org/2005/Atom'>
<title>python.git/Modules/zlibmodule.c, branch 2.3</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/zlibmodule.c?h=2.3</id>
<link rel='self' href='http://dangofactory.net/cgit/cgit.cgi/Server/python.git/atom/Modules/zlibmodule.c?h=2.3'/>
<link rel='alternate' type='text/html' href='http://dangofactory.net/cgit/cgit.cgi/Server/python.git/'/>
<updated>2004-12-28T20:31:27Z</updated>
<entry>
<title>[Bug #1083110] calling .flush() on decompress objects causes a segfault due to an uninitialized pointer: fixes the problem and adds a test case</title>
<updated>2004-12-28T20:31:27Z</updated>
<author>
<name>Andrew M. Kuchling</name>
<email>amk@amk.ca</email>
</author>
<published>2004-12-28T20:31:27Z</published>
<link rel='alternate' type='text/html' href='http://dangofactory.net/cgit/cgit.cgi/Server/python.git/commit/?id=f3478d9d759705896bb3446785a7087ad22e4e94'/>
<id>urn:sha1:f3478d9d759705896bb3446785a7087ad22e4e94</id>
<content type='text'>
</content>
</entry>
<entry>
<title>- Thanks to Scott David Daniels, a subtle bug in how the zlib</title>
<updated>2003-02-03T20:45:52Z</updated>
<author>
<name>Guido van Rossum</name>
<email>guido@python.org</email>
</author>
<published>2003-02-03T20:45:52Z</published>
<link rel='alternate' type='text/html' href='http://dangofactory.net/cgit/cgit.cgi/Server/python.git/commit/?id=7d9ea5013f2f6122aa83a68429bf2dd5e5a00017'/>
<id>urn:sha1:7d9ea5013f2f6122aa83a68429bf2dd5e5a00017</id>
<content type='text'>
  extension implemented flush() was fixed.  Scott also rewrite the
  zlib test suite using the unittest module.  (SF bug #640230 and
  patch #678531.)

Backport candidate I think.
</content>
</entry>
<entry>
<title>Replace DL_IMPORT with PyMODINIT_FUNC and remove "/export:init..." link</title>
<updated>2002-07-23T06:31:15Z</updated>
<author>
<name>Mark Hammond</name>
<email>mhammond@skippinet.com.au</email>
</author>
<published>2002-07-23T06:31:15Z</published>
<link rel='alternate' type='text/html' href='http://dangofactory.net/cgit/cgit.cgi/Server/python.git/commit/?id=62b1ab1b314653c09757c533883447eda437306f'/>
<id>urn:sha1:62b1ab1b314653c09757c533883447eda437306f</id>
<content type='text'>
command line for Windows builds.  This should allow MSVC to import and
build the Python MSVC6 project files without error.
</content>
</entry>
<entry>
<title>Removed more stray instances of statichere, but left _sre.c alone.</title>
<updated>2002-07-17T16:49:03Z</updated>
<author>
<name>Tim Peters</name>
<email>tim.peters@gmail.com</email>
</author>
<published>2002-07-17T16:49:03Z</published>
<link rel='alternate' type='text/html' href='http://dangofactory.net/cgit/cgit.cgi/Server/python.git/commit/?id=0c32279626d166fe0e09c571fcfc9af25508b1cd'/>
<id>urn:sha1:0c32279626d166fe0e09c571fcfc9af25508b1cd</id>
<content type='text'>
</content>
</entry>
<entry>
<title>staticforward bites the dust.</title>
<updated>2002-07-17T16:30:39Z</updated>
<author>
<name>Jeremy Hylton</name>
<email>jeremy@alum.mit.edu</email>
</author>
<published>2002-07-17T16:30:39Z</published>
<link rel='alternate' type='text/html' href='http://dangofactory.net/cgit/cgit.cgi/Server/python.git/commit/?id=938ace69a0e112424a2f426a4881d1fd1fc922d2'/>
<id>urn:sha1:938ace69a0e112424a2f426a4881d1fd1fc922d2</id>
<content type='text'>
The staticforward define was needed to support certain broken C
compilers (notably SCO ODT 3.0, perhaps early AIX as well) botched the
static keyword when it was used with a forward declaration of a static
initialized structure.  Standard C allows the forward declaration with
static, and we've decided to stop catering to broken C compilers.  (In
fact, we expect that the compilers are all fixed eight years later.)

I'm leaving staticforward and statichere defined in object.h as
static.  This is only for backwards compatibility with C extensions
that might still use it.

XXX I haven't updated the documentation.
</content>
</entry>
<entry>
<title>Patch #568124: Add doc string macros.</title>
<updated>2002-06-13T20:33:02Z</updated>
<author>
<name>Martin v. Löwis</name>
<email>martin@v.loewis.de</email>
</author>
<published>2002-06-13T20:33:02Z</published>
<link rel='alternate' type='text/html' href='http://dangofactory.net/cgit/cgit.cgi/Server/python.git/commit/?id=14f8b4cfcb98de74b9c6e9316539be9e2a5cd31f'/>
<id>urn:sha1:14f8b4cfcb98de74b9c6e9316539be9e2a5cd31f</id>
<content type='text'>
</content>
</entry>
<entry>
<title>Repair widespread misuse of _PyString_Resize.  Since it's clear people</title>
<updated>2002-04-27T18:44:32Z</updated>
<author>
<name>Tim Peters</name>
<email>tim.peters@gmail.com</email>
</author>
<published>2002-04-27T18:44:32Z</published>
<link rel='alternate' type='text/html' href='http://dangofactory.net/cgit/cgit.cgi/Server/python.git/commit/?id=5de9842b34cbefbfe74e6a99004616352f223133'/>
<id>urn:sha1:5de9842b34cbefbfe74e6a99004616352f223133</id>
<content type='text'>
don't understand how this function works, also beefed up the docs.  The
most common usage error is of this form (often spread out across gotos):

	if (_PyString_Resize(&amp;s, n) &lt; 0) {
		Py_DECREF(s);
		s = NULL;
		goto outtahere;
	}

The error is that if _PyString_Resize runs out of memory, it automatically
decrefs the input string object s (which also deallocates it, since its
refcount must be 1 upon entry), and sets s to NULL.  So if the "if"
branch ever triggers, it's an error to call Py_DECREF(s):  s is already
NULL!  A correct way to write the above is the simpler (and intended)

	if (_PyString_Resize(&amp;s, n) &lt; 0)
		goto outtahere;

Bugfix candidate.
</content>
</entry>
<entry>
<title>Fix SF #544995 (zlib crash on second flush call)</title>
<updated>2002-04-19T14:37:07Z</updated>
<author>
<name>Jeremy Hylton</name>
<email>jeremy@alum.mit.edu</email>
</author>
<published>2002-04-19T14:37:07Z</published>
<link rel='alternate' type='text/html' href='http://dangofactory.net/cgit/cgit.cgi/Server/python.git/commit/?id=c72737e7b6ec3beeecafbef75fbc31e22e0d710b'/>
<id>urn:sha1:c72737e7b6ec3beeecafbef75fbc31e22e0d710b</id>
<content type='text'>
Bug fix by mhammond.

Bug fix candidate for 2.2, not present in 2.1.
</content>
</entry>
<entry>
<title>Use the PyModule_Add*() APIs instead of manipulating the module dict</title>
<updated>2002-04-01T14:53:37Z</updated>
<author>
<name>Fred Drake</name>
<email>fdrake@acm.org</email>
</author>
<published>2002-04-01T14:53:37Z</published>
<link rel='alternate' type='text/html' href='http://dangofactory.net/cgit/cgit.cgi/Server/python.git/commit/?id=4baedc1d9be6e5308d73439db54b58e51fb30dfc'/>
<id>urn:sha1:4baedc1d9be6e5308d73439db54b58e51fb30dfc</id>
<content type='text'>
directly.
</content>
</entry>
<entry>
<title>Changed C++ comment into standard comment.</title>
<updated>2002-03-11T09:20:47Z</updated>
<author>
<name>Sjoerd Mullender</name>
<email>sjoerd@acm.org</email>
</author>
<published>2002-03-11T09:20:47Z</published>
<link rel='alternate' type='text/html' href='http://dangofactory.net/cgit/cgit.cgi/Server/python.git/commit/?id=556a938d107f08a359bd68a2c4b4d4d2f36609b4'/>
<id>urn:sha1:556a938d107f08a359bd68a2c4b4d4d2f36609b4</id>
<content type='text'>
</content>
</entry>
</feed>
