<feed xmlns='http://www.w3.org/2005/Atom'>
<title>python.git/Modules/regexmodule.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/regexmodule.c?h=2.3</id>
<link rel='self' href='http://dangofactory.net/cgit/cgit.cgi/Server/python.git/atom/Modules/regexmodule.c?h=2.3'/>
<link rel='alternate' type='text/html' href='http://dangofactory.net/cgit/cgit.cgi/Server/python.git/'/>
<updated>2002-08-02T02:27:13Z</updated>
<entry>
<title>Excise DL_EXPORT/DL_IMPORT from Modules/*.  Required adding a prototype</title>
<updated>2002-08-02T02:27:13Z</updated>
<author>
<name>Mark Hammond</name>
<email>mhammond@skippinet.com.au</email>
</author>
<published>2002-08-02T02:27:13Z</published>
<link rel='alternate' type='text/html' href='http://dangofactory.net/cgit/cgit.cgi/Server/python.git/commit/?id=fe51c6d66e0fbf6a142036bee2c448bd7fe8fefc'/>
<id>urn:sha1:fe51c6d66e0fbf6a142036bee2c448bd7fe8fefc</id>
<content type='text'>
for Py_Main().

Thanks to Kalle Svensson and Skip Montanaro for the patches.
</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>Remove METH_OLDARGS:</title>
<updated>2002-03-31T15:27:00Z</updated>
<author>
<name>Neal Norwitz</name>
<email>nnorwitz@gmail.com</email>
</author>
<published>2002-03-31T15:27:00Z</published>
<link rel='alternate' type='text/html' href='http://dangofactory.net/cgit/cgit.cgi/Server/python.git/commit/?id=ba3a16c6c3d3da0903873e9464dbc540eaeda1f7'/>
<id>urn:sha1:ba3a16c6c3d3da0903873e9464dbc540eaeda1f7</id>
<content type='text'>
  Convert METH_OLDARGS -&gt; METH_VARARGS: also PyArg_Parse -&gt; PyArg_ParseTuple
  Convert METH_OLDARGS -&gt; METH_NOARGS: remove args parameter
Please review.  All tests pass, but some modules don't have tests.
I spot checked various functions to try to make sure nothing broke.
</content>
</entry>
<entry>
<title>Patch #477750: Use METH_ constants in Modules.</title>
<updated>2002-01-17T23:15:58Z</updated>
<author>
<name>Martin v. Löwis</name>
<email>martin@v.loewis.de</email>
</author>
<published>2002-01-17T23:15:58Z</published>
<link rel='alternate' type='text/html' href='http://dangofactory.net/cgit/cgit.cgi/Server/python.git/commit/?id=43b936d08c51726205123ae1af5c5f8b5d3b6fcb'/>
<id>urn:sha1:43b936d08c51726205123ae1af5c5f8b5d3b6fcb</id>
<content type='text'>
</content>
</entry>
<entry>
<title>Patch supplied by Burton Radons for his own SF bug #487390: Modifying</title>
<updated>2001-12-08T18:02:58Z</updated>
<author>
<name>Guido van Rossum</name>
<email>guido@python.org</email>
</author>
<published>2001-12-08T18:02:58Z</published>
<link rel='alternate' type='text/html' href='http://dangofactory.net/cgit/cgit.cgi/Server/python.git/commit/?id=146483964e2e94b0d1709be438a1b86f75b5d730'/>
<id>urn:sha1:146483964e2e94b0d1709be438a1b86f75b5d730</id>
<content type='text'>
type.__module__ behavior.

This adds the module name and a dot in front of the type name in every
type object initializer, except for built-in types (and those that
already had this).  Note that it touches lots of Mac modules -- I have
no way to test these but the changes look right.  Apologies if they're
not.  This also touches the weakref docs, which contains a sample type
object initializer.  It also touches the mmap test output, because the
mmap type's repr is included in that output.  It touches object.h to
put the correct description in a comment.
</content>
</entry>
<entry>
<title>initregex():  this function is declared void, so the recent change to</title>
<updated>2001-07-09T18:15:38Z</updated>
<author>
<name>Tim Peters</name>
<email>tim.peters@gmail.com</email>
</author>
<published>2001-07-09T18:15:38Z</published>
<link rel='alternate' type='text/html' href='http://dangofactory.net/cgit/cgit.cgi/Server/python.git/commit/?id=06e415fe52796629dd1342bb02103b5a51fbcd9a'/>
<id>urn:sha1:06e415fe52796629dd1342bb02103b5a51fbcd9a</id>
<content type='text'>
return NULL in an error case was itself an error.
</content>
</entry>
<entry>
<title>initregex(): Check return value of PyErr_Warn() and propagate the exception</title>
<updated>2001-07-09T10:45:31Z</updated>
<author>
<name>Thomas Wouters</name>
<email>thomas@python.org</email>
</author>
<published>2001-07-09T10:45:31Z</published>
<link rel='alternate' type='text/html' href='http://dangofactory.net/cgit/cgit.cgi/Server/python.git/commit/?id=4ccf1190535319d37cbc712422fd097cd8f0464f'/>
<id>urn:sha1:4ccf1190535319d37cbc712422fd097cd8f0464f</id>
<content type='text'>
(if any.)
</content>
</entry>
<entry>
<title>SF Patch #103185, by jlt63: Some more standard modules cleanup for Cygwin</title>
<updated>2001-01-22T15:29:14Z</updated>
<author>
<name>Guido van Rossum</name>
<email>guido@python.org</email>
</author>
<published>2001-01-22T15:29:14Z</published>
<link rel='alternate' type='text/html' href='http://dangofactory.net/cgit/cgit.cgi/Server/python.git/commit/?id=a120ffcf1245d8abb8ecc6984a8f4aad61ab5af4'/>
<id>urn:sha1:a120ffcf1245d8abb8ecc6984a8f4aad61ab5af4</id>
<content type='text'>
</content>
</entry>
<entry>
<title>Adding a warning about the regex module.  This is the first official</title>
<updated>2000-12-19T18:21:39Z</updated>
<author>
<name>Guido van Rossum</name>
<email>guido@python.org</email>
</author>
<published>2000-12-19T18:21:39Z</published>
<link rel='alternate' type='text/html' href='http://dangofactory.net/cgit/cgit.cgi/Server/python.git/commit/?id=b1d136174abb07d66b1f812a3a2364d9fab0c5e2'/>
<id>urn:sha1:b1d136174abb07d66b1f812a3a2364d9fab0c5e2</id>
<content type='text'>
use of PyErr_Warn()!  This module is a good guinea pig because it's
been obsolete since 1.5.0 was released.
</content>
</entry>
<entry>
<title>REMOVED all CWI, CNRI and BeOpen copyright markings.</title>
<updated>2000-09-01T23:29:29Z</updated>
<author>
<name>Guido van Rossum</name>
<email>guido@python.org</email>
</author>
<published>2000-09-01T23:29:29Z</published>
<link rel='alternate' type='text/html' href='http://dangofactory.net/cgit/cgit.cgi/Server/python.git/commit/?id=8586991099e4ace18ee94163a96b8ea1bed77ebe'/>
<id>urn:sha1:8586991099e4ace18ee94163a96b8ea1bed77ebe</id>
<content type='text'>
This should match the situation in the 1.6b1 tree.
</content>
</entry>
</feed>
