<feed xmlns='http://www.w3.org/2005/Atom'>
<title>python.git/Modules/stropmodule.c, branch v2.4b2</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/stropmodule.c?h=v2.4b2</id>
<link rel='self' href='http://dangofactory.net/cgit/cgit.cgi/Server/python.git/atom/Modules/stropmodule.c?h=v2.4b2'/>
<link rel='alternate' type='text/html' href='http://dangofactory.net/cgit/cgit.cgi/Server/python.git/'/>
<updated>2004-06-08T18:52:54Z</updated>
<entry>
<title>Patch #774665: Make Python LC_NUMERIC agnostic.</title>
<updated>2004-06-08T18:52:54Z</updated>
<author>
<name>Martin v. Löwis</name>
<email>martin@v.loewis.de</email>
</author>
<published>2004-06-08T18:52:54Z</published>
<link rel='alternate' type='text/html' href='http://dangofactory.net/cgit/cgit.cgi/Server/python.git/commit/?id=737ea82a5abd448b3e214b44d7d3c579b77e8155'/>
<id>urn:sha1:737ea82a5abd448b3e214b44d7d3c579b77e8155</id>
<content type='text'>
</content>
</entry>
<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>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>Get rid of more PyArg_Parse &amp; METH_OLDARGS.</title>
<updated>2002-04-02T18:17:57Z</updated>
<author>
<name>Neal Norwitz</name>
<email>nnorwitz@gmail.com</email>
</author>
<published>2002-04-02T18:17:57Z</published>
<link rel='alternate' type='text/html' href='http://dangofactory.net/cgit/cgit.cgi/Server/python.git/commit/?id=187ae561667f82142edbe7beaa612381b6bb0827'/>
<id>urn:sha1:187ae561667f82142edbe7beaa612381b6bb0827</id>
<content type='text'>
  PyArg_Parse( "s" )  -&gt; PyString_AsString
  PyArg_Parse( "t#" ) -&gt; PyString_AsStringAndSize
</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>Remove compiler warnings on Solaris 8.</title>
<updated>2002-03-20T21:32:07Z</updated>
<author>
<name>Neal Norwitz</name>
<email>nnorwitz@gmail.com</email>
</author>
<published>2002-03-20T21:32:07Z</published>
<link rel='alternate' type='text/html' href='http://dangofactory.net/cgit/cgit.cgi/Server/python.git/commit/?id=3afb2d2bba9d492c1f2c889954bc0d32d93955ab'/>
<id>urn:sha1:3afb2d2bba9d492c1f2c889954bc0d32d93955ab</id>
<content type='text'>
Can go into 2.2.x, but not necessary.
</content>
</entry>
<entry>
<title>More sprintf -&gt; PyOS_snprintf.</title>
<updated>2001-11-28T22:07:30Z</updated>
<author>
<name>Tim Peters</name>
<email>tim.peters@gmail.com</email>
</author>
<published>2001-11-28T22:07:30Z</published>
<link rel='alternate' type='text/html' href='http://dangofactory.net/cgit/cgit.cgi/Server/python.git/commit/?id=75cdad558472781162a83439f3e6edb61d4d40e6'/>
<id>urn:sha1:75cdad558472781162a83439f3e6edb61d4d40e6</id>
<content type='text'>
</content>
</entry>
<entry>
<title>sprintf -&gt; PyOS_snprintf in some "obviously safe" cases.</title>
<updated>2001-11-28T20:27:42Z</updated>
<author>
<name>Tim Peters</name>
<email>tim.peters@gmail.com</email>
</author>
<published>2001-11-28T20:27:42Z</published>
<link rel='alternate' type='text/html' href='http://dangofactory.net/cgit/cgit.cgi/Server/python.git/commit/?id=885d457709c1d680c899dc3d035a47c8fb514cfa'/>
<id>urn:sha1:885d457709c1d680c899dc3d035a47c8fb514cfa</id>
<content type='text'>
Also changed &lt;&gt;-style #includes to ""-style in some places where the
former didn't make sense.
</content>
</entry>
<entry>
<title>Add warnings to the strop module, for to those functions that really</title>
<updated>2001-05-15T02:14:44Z</updated>
<author>
<name>Guido van Rossum</name>
<email>guido@python.org</email>
</author>
<published>2001-05-15T02:14:44Z</published>
<link rel='alternate' type='text/html' href='http://dangofactory.net/cgit/cgit.cgi/Server/python.git/commit/?id=2e0a654f6edeb58bef3cccffa42c2a236117a88c'/>
<id>urn:sha1:2e0a654f6edeb58bef3cccffa42c2a236117a88c</id>
<content type='text'>
*are* obsolete; three variables and the maketrans() function are not
(yet) obsolete.

Add a compensating warnings.filterwarnings() call to test_strop.py.

Add this to the NEWS.
</content>
</entry>
</feed>
