<feed xmlns='http://www.w3.org/2005/Atom'>
<title>python.git/Lib/string.py, branch 2.4</title>
<subtitle>Unnamed repository; edit this file 'description' to name the repository.</subtitle>
<id>http://dangofactory.net/cgit/cgit.cgi/Server/python.git/atom/Lib/string.py?h=2.4</id>
<link rel='self' href='http://dangofactory.net/cgit/cgit.cgi/Server/python.git/atom/Lib/string.py?h=2.4'/>
<link rel='alternate' type='text/html' href='http://dangofactory.net/cgit/cgit.cgi/Server/python.git/'/>
<updated>2004-11-01T03:52:43Z</updated>
<entry>
<title>SF patch #1056967, changes the semantics of Template.safe_substitute() to not</title>
<updated>2004-11-01T03:52:43Z</updated>
<author>
<name>Barry Warsaw</name>
<email>barry@python.org</email>
</author>
<published>2004-11-01T03:52:43Z</published>
<link rel='alternate' type='text/html' href='http://dangofactory.net/cgit/cgit.cgi/Server/python.git/commit/?id=8c72eae2378fde4e473feadd4c7139d9ec9cb8e3'/>
<id>urn:sha1:8c72eae2378fde4e473feadd4c7139d9ec9cb8e3</id>
<content type='text'>
raise a ValueError for dangling delimiters (the delimiter itself is returned).
</content>
</entry>
<entry>
<title>Invalid patterns to substitute and safe_substitute would crash since pattern</title>
<updated>2004-10-17T16:27:18Z</updated>
<author>
<name>Neal Norwitz</name>
<email>nnorwitz@gmail.com</email>
</author>
<published>2004-10-17T16:27:18Z</published>
<link rel='alternate' type='text/html' href='http://dangofactory.net/cgit/cgit.cgi/Server/python.git/commit/?id=6627a9670541f33ae55f6ba8df6b6ce7264c3f34'/>
<id>urn:sha1:6627a9670541f33ae55f6ba8df6b6ce7264c3f34</id>
<content type='text'>
is not a local variable.  Add a test case.
</content>
</entry>
<entry>
<title>Make the regex pattern easier to read, understand, and modify</title>
<updated>2004-09-26T18:56:44Z</updated>
<author>
<name>Raymond Hettinger</name>
<email>python@rcn.com</email>
</author>
<published>2004-09-26T18:56:44Z</published>
<link rel='alternate' type='text/html' href='http://dangofactory.net/cgit/cgit.cgi/Server/python.git/commit/?id=55593c3ef530ea01b1cfb1f7c81ee34fd994d0ef'/>
<id>urn:sha1:55593c3ef530ea01b1cfb1f7c81ee34fd994d0ef</id>
<content type='text'>
by factoring out the common prefix (the delimiter).
</content>
</entry>
<entry>
<title>At the cost of a modest (but useful in its own right) change in the semantics</title>
<updated>2004-09-18T00:06:34Z</updated>
<author>
<name>Barry Warsaw</name>
<email>barry@python.org</email>
</author>
<published>2004-09-18T00:06:34Z</published>
<link rel='alternate' type='text/html' href='http://dangofactory.net/cgit/cgit.cgi/Server/python.git/commit/?id=17cb60083c53b464a329f1a660a922db677389dd'/>
<id>urn:sha1:17cb60083c53b464a329f1a660a922db677389dd</id>
<content type='text'>
of the Template.delimiter attribute, we make use of the delimiter in the
escaped group, and in the safe_substitute() method more robust.

Now, .delimiter should be the unescaped delimiter literal, e.g. '$' or '&amp;', or
whatever.  The _TemplateMetaclass will re.escape() this value when it builds
the pattern.
</content>
</entry>
<entry>
<title>Whitespace normalization.</title>
<updated>2004-09-16T00:09:19Z</updated>
<author>
<name>Tim Peters</name>
<email>tim.peters@gmail.com</email>
</author>
<published>2004-09-16T00:09:19Z</published>
<link rel='alternate' type='text/html' href='http://dangofactory.net/cgit/cgit.cgi/Server/python.git/commit/?id=c74298a72b16d2ecca144df014014796f025ea08'/>
<id>urn:sha1:c74298a72b16d2ecca144df014014796f025ea08</id>
<content type='text'>
</content>
</entry>
<entry>
<title>Make the hint about the None default less ambiguous.</title>
<updated>2004-09-14T09:45:10Z</updated>
<author>
<name>Walter Dörwald</name>
<email>walter@livinglogic.de</email>
</author>
<published>2004-09-14T09:45:10Z</published>
<link rel='alternate' type='text/html' href='http://dangofactory.net/cgit/cgit.cgi/Server/python.git/commit/?id=065a32f5508152a4d9781e611185c48ab46ed108'/>
<id>urn:sha1:065a32f5508152a4d9781e611185c48ab46ed108</id>
<content type='text'>
</content>
</entry>
<entry>
<title>Enhance the docstrings for unicode.split() and string.split()</title>
<updated>2004-09-14T09:40:45Z</updated>
<author>
<name>Walter Dörwald</name>
<email>walter@livinglogic.de</email>
</author>
<published>2004-09-14T09:40:45Z</published>
<link rel='alternate' type='text/html' href='http://dangofactory.net/cgit/cgit.cgi/Server/python.git/commit/?id=782afc5927c5d37c3de1a082b6363a79e4bd5962'/>
<id>urn:sha1:782afc5927c5d37c3de1a082b6363a79e4bd5962</id>
<content type='text'>
to make it clear that it is possible to pass None as the
separator argument to get the default "any whitespace" separator.
</content>
</entry>
<entry>
<title>Fix small bugs in Template code.</title>
<updated>2004-09-14T02:34:08Z</updated>
<author>
<name>Raymond Hettinger</name>
<email>python@rcn.com</email>
</author>
<published>2004-09-14T02:34:08Z</published>
<link rel='alternate' type='text/html' href='http://dangofactory.net/cgit/cgit.cgi/Server/python.git/commit/?id=6d191113a6c24c5a5c1cd8ade63f5a8f7027b1f4'/>
<id>urn:sha1:6d191113a6c24c5a5c1cd8ade63f5a8f7027b1f4</id>
<content type='text'>
* The parameterization of "delimiter" was incomplete.
* safe_substitute's code for braced delimiters should only be executed
  when braced is not None.
* Invalid pattern group names now raise a ValueError.  Formerly, the
  convert code would fall off the end and improperly return None.

Beefed-up tests.

* Test delimiter override for all paths in substitute and safe_substitute.
* Alter unittest invocation to match other modules (now it itemizes the
  tests as they are run).
</content>
</entry>
<entry>
<title>Raymond's good suggestion to re-order the tests in the convert() helper so the</title>
<updated>2004-09-13T20:52:50Z</updated>
<author>
<name>Barry Warsaw</name>
<email>barry@python.org</email>
</author>
<published>2004-09-13T20:52:50Z</published>
<link rel='alternate' type='text/html' href='http://dangofactory.net/cgit/cgit.cgi/Server/python.git/commit/?id=b5c6b5bfe8207a4706b4d37352117ba7f4064a98'/>
<id>urn:sha1:b5c6b5bfe8207a4706b4d37352117ba7f4064a98</id>
<content type='text'>
most common paths are tested first.  Also, that 'invalid' is better than
'bogus'.
</content>
</entry>
<entry>
<title>substitute(), safe_substitute(): Paul Moore provides a better hack for dealing</title>
<updated>2004-09-13T15:25:15Z</updated>
<author>
<name>Barry Warsaw</name>
<email>barry@python.org</email>
</author>
<published>2004-09-13T15:25:15Z</published>
<link rel='alternate' type='text/html' href='http://dangofactory.net/cgit/cgit.cgi/Server/python.git/commit/?id=b6234a95c1b8c56563025883aac92b683e8a99bf'/>
<id>urn:sha1:b6234a95c1b8c56563025883aac92b683e8a99bf</id>
<content type='text'>
with positional arguments.
</content>
</entry>
</feed>
