<feed xmlns='http://www.w3.org/2005/Atom'>
<title>python.git/Lib/stringold.py, branch v1.5</title>
<subtitle>Python interpreter</subtitle>
<id>http://dangofactory.net/cgit/cgit.cgi/Server/python.git/atom/Lib/stringold.py?h=v1.5</id>
<link rel='self' href='http://dangofactory.net/cgit/cgit.cgi/Server/python.git/atom/Lib/stringold.py?h=v1.5'/>
<link rel='alternate' type='text/html' href='http://dangofactory.net/cgit/cgit.cgi/Server/python.git/'/>
<updated>1997-12-29T19:57:36Z</updated>
<entry>
<title>Minor editing corrections.</title>
<updated>1997-12-29T19:57:36Z</updated>
<author>
<name>Guido van Rossum</name>
<email>guido@python.org</email>
</author>
<published>1997-12-29T19:57:36Z</published>
<link rel='alternate' type='text/html' href='http://dangofactory.net/cgit/cgit.cgi/Server/python.git/commit/?id=23e21e7cf32aa117ebe9938c50c5a448e3000cb2'/>
<id>urn:sha1:23e21e7cf32aa117ebe9938c50c5a448e3000cb2</id>
<content type='text'>
</content>
</entry>
<entry>
<title>Added doc string, provided by Charles Waldman (with some reformatting</title>
<updated>1997-12-29T19:26:28Z</updated>
<author>
<name>Guido van Rossum</name>
<email>guido@python.org</email>
</author>
<published>1997-12-29T19:26:28Z</published>
<link rel='alternate' type='text/html' href='http://dangofactory.net/cgit/cgit.cgi/Server/python.git/commit/?id=2003204ba71ab3cac54015ef9fc6171f4e825953'/>
<id>urn:sha1:2003204ba71ab3cac54015ef9fc6171f4e825953</id>
<content type='text'>
and a little editing my me).
</content>
</entry>
<entry>
<title>At Barry's suggestion, plug the security leak by using an empty</title>
<updated>1997-12-10T22:59:55Z</updated>
<author>
<name>Guido van Rossum</name>
<email>guido@python.org</email>
</author>
<published>1997-12-10T22:59:55Z</published>
<link rel='alternate' type='text/html' href='http://dangofactory.net/cgit/cgit.cgi/Server/python.git/commit/?id=d0753e20b256057a6320e95e43974f053f4123f1'/>
<id>urn:sha1:d0753e20b256057a6320e95e43974f053f4123f1</id>
<content type='text'>
__builtins__ for all calls to eval().  This still allows someone to
write string.atof("[1]*1000000") (which Jim Fulton worries about) but
effectively disables access to system modules and functions.
</content>
</entry>
<entry>
<title>Since this module is used as a fallback in case no built-in modules</title>
<updated>1997-12-10T22:35:02Z</updated>
<author>
<name>Guido van Rossum</name>
<email>guido@python.org</email>
</author>
<published>1997-12-10T22:35:02Z</published>
<link rel='alternate' type='text/html' href='http://dangofactory.net/cgit/cgit.cgi/Server/python.git/commit/?id=90d62ab0a175b8f3451ee74f29d5de83650e2292'/>
<id>urn:sha1:90d62ab0a175b8f3451ee74f29d5de83650e2292</id>
<content type='text'>
have been configured, string.atof() should not fail when "import re"
fails (usually because pcre is not there).

This opens up a tiny security hole: *if* an attacker can make "import
re" fail, they can also make string.atof(arbitrary_string) evaluate
the arbitrary string.  Nothing to keep me awake at night...
</content>
</entry>
<entry>
<title>In string.split(), honor maxsplit (if &gt; 0).</title>
<updated>1997-12-01T15:25:19Z</updated>
<author>
<name>Guido van Rossum</name>
<email>guido@python.org</email>
</author>
<published>1997-12-01T15:25:19Z</published>
<link rel='alternate' type='text/html' href='http://dangofactory.net/cgit/cgit.cgi/Server/python.git/commit/?id=06ba34c5d47751f9a5ae8e16bf1a7cf12c871609'/>
<id>urn:sha1:06ba34c5d47751f9a5ae8e16bf1a7cf12c871609</id>
<content type='text'>
In string.splitfields(), ignore maxsplit if &lt;= 0, rather than ignoring
maxsplit=0 but effectively treating negative numbers the same as
maxsplit=1.  Also made the test for maxsplit slightly more efficient
(set it to the length of the string when &lt;= 0 so the test for its
presence can be omitted from the loop).
</content>
</entry>
<entry>
<title>Convert all remaining *simple* cases of regex usage to re usage.</title>
<updated>1997-10-22T21:00:49Z</updated>
<author>
<name>Guido van Rossum</name>
<email>guido@python.org</email>
</author>
<published>1997-10-22T21:00:49Z</published>
<link rel='alternate' type='text/html' href='http://dangofactory.net/cgit/cgit.cgi/Server/python.git/commit/?id=9694fcab5332f27dc28b195ba1391e5491d2eaef'/>
<id>urn:sha1:9694fcab5332f27dc28b195ba1391e5491d2eaef</id>
<content type='text'>
</content>
</entry>
<entry>
<title>Add optional 4th argument to count(), matching find() etc.</title>
<updated>1997-10-20T23:31:15Z</updated>
<author>
<name>Guido van Rossum</name>
<email>guido@python.org</email>
</author>
<published>1997-10-20T23:31:15Z</published>
<link rel='alternate' type='text/html' href='http://dangofactory.net/cgit/cgit.cgi/Server/python.git/commit/?id=1510565cb5efb22604bd81696ebc12ad5781017e'/>
<id>urn:sha1:1510565cb5efb22604bd81696ebc12ad5781017e</id>
<content type='text'>
Also change all occurrences of "x == None" to "x is None" (not that it
matters much, these functions are all reimplemented in strop -- but
count() is not).
</content>
</entry>
<entry>
<title>Changed my mind on replace().</title>
<updated>1997-04-02T05:49:46Z</updated>
<author>
<name>Guido van Rossum</name>
<email>guido@python.org</email>
</author>
<published>1997-04-02T05:49:46Z</published>
<link rel='alternate' type='text/html' href='http://dangofactory.net/cgit/cgit.cgi/Server/python.git/commit/?id=21aa0ef35123da20d80a96b8d0237187269a77d0'/>
<id>urn:sha1:21aa0ef35123da20d80a96b8d0237187269a77d0</id>
<content type='text'>
It's now replace(str, old, new, maxsplit=0).
Note new ordering of parameters (string first);
this is more consistent with translate().
</content>
</entry>
<entry>
<title>Added new functions replace() and replace1().</title>
<updated>1997-03-25T16:50:31Z</updated>
<author>
<name>Guido van Rossum</name>
<email>guido@python.org</email>
</author>
<published>1997-03-25T16:50:31Z</published>
<link rel='alternate' type='text/html' href='http://dangofactory.net/cgit/cgit.cgi/Server/python.git/commit/?id=1eb9a81eb92dd5d133c8584bad8aecd5b8f0ccd1'/>
<id>urn:sha1:1eb9a81eb92dd5d133c8584bad8aecd5b8f0ccd1</id>
<content type='text'>
</content>
</entry>
<entry>
<title>Add optional 4th argument to [r]find and [r]index (end of slice).</title>
<updated>1997-03-14T04:13:56Z</updated>
<author>
<name>Guido van Rossum</name>
<email>guido@python.org</email>
</author>
<published>1997-03-14T04:13:56Z</published>
<link rel='alternate' type='text/html' href='http://dangofactory.net/cgit/cgit.cgi/Server/python.git/commit/?id=7b7c5786161d9d443d13f56276620519587a2624'/>
<id>urn:sha1:7b7c5786161d9d443d13f56276620519587a2624</id>
<content type='text'>
</content>
</entry>
</feed>
