<feed xmlns='http://www.w3.org/2005/Atom'>
<title>python.git/Lib/test/test_string.py, branch v3.7.2</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/test/test_string.py?h=v3.7.2</id>
<link rel='self' href='http://dangofactory.net/cgit/cgit.cgi/Server/python.git/atom/Lib/test/test_string.py?h=v3.7.2'/>
<link rel='alternate' type='text/html' href='http://dangofactory.net/cgit/cgit.cgi/Server/python.git/'/>
<updated>2018-01-04T17:20:11Z</updated>
<entry>
<title>bpo-31672: Restore the former behavior when override flags in Template. (#5099)</title>
<updated>2018-01-04T17:20:11Z</updated>
<author>
<name>Serhiy Storchaka</name>
<email>storchaka@gmail.com</email>
</author>
<published>2018-01-04T17:20:11Z</published>
<link rel='alternate' type='text/html' href='http://dangofactory.net/cgit/cgit.cgi/Server/python.git/commit/?id=87be28f4a1c5b76926c71a3d9f92503f9eb82d51'/>
<id>urn:sha1:87be28f4a1c5b76926c71a3d9f92503f9eb82d51</id>
<content type='text'>
Overriding flags to 0 will make the default pattern matching only
lower case letters.</content>
</entry>
<entry>
<title>bpo-31672: Fix string.Template accidentally matched non-ASCII identifiers (GH-3872)</title>
<updated>2017-10-13T07:02:23Z</updated>
<author>
<name>INADA Naoki</name>
<email>methane@users.noreply.github.com</email>
</author>
<published>2017-10-13T07:02:23Z</published>
<link rel='alternate' type='text/html' href='http://dangofactory.net/cgit/cgit.cgi/Server/python.git/commit/?id=b22273ec5d1992b0cbe078b887427ae9977dfb78'/>
<id>urn:sha1:b22273ec5d1992b0cbe078b887427ae9977dfb78</id>
<content type='text'>
Pattern `[a-z]` with `IGNORECASE` flag can match to some non-ASCII characters.

Straightforward solution for this is using `IGNORECASE | ASCII` flag.
But users may subclass `Template` and override only `idpattern`. So we want to
avoid changing `Template.flags`.

So this commit uses local flag `-i` for `idpattern` and change `[a-z]` to `[a-zA-Z]`.</content>
</entry>
<entry>
<title>bpo-1198569: Allow string.Template braced pattern to be different (#3288)</title>
<updated>2017-09-04T20:32:10Z</updated>
<author>
<name>Barry Warsaw</name>
<email>barry@python.org</email>
</author>
<published>2017-09-04T20:32:10Z</published>
<link rel='alternate' type='text/html' href='http://dangofactory.net/cgit/cgit.cgi/Server/python.git/commit/?id=ba4279683f8eb8f59be10d12547ea89480614388'/>
<id>urn:sha1:ba4279683f8eb8f59be10d12547ea89480614388</id>
<content type='text'>
* bpo-1198569: Allow the braced pattern to be different

``string.Template`` subclasses can optionally define ``braceidpattern`` if
they want to specify different placeholder patterns inside and outside the
braces.  If None (the default) it falls back to ``idpattern``.
</content>
</entry>
<entry>
<title>Issue #29193: A format string argument for string.Formatter.format()</title>
<updated>2017-01-13T07:10:51Z</updated>
<author>
<name>Serhiy Storchaka</name>
<email>storchaka@gmail.com</email>
</author>
<published>2017-01-13T07:10:51Z</published>
<link rel='alternate' type='text/html' href='http://dangofactory.net/cgit/cgit.cgi/Server/python.git/commit/?id=009b0a1face9c16b608b3cd18df8c88632006ae1'/>
<id>urn:sha1:009b0a1face9c16b608b3cd18df8c88632006ae1</id>
<content type='text'>
is now positional-only.
</content>
</entry>
<entry>
<title>Issue #27185: Rename test_string_merged.py back to test_string.py.</title>
<updated>2016-06-03T07:38:24Z</updated>
<author>
<name>Serhiy Storchaka</name>
<email>storchaka@gmail.com</email>
</author>
<published>2016-06-03T07:38:24Z</published>
<link rel='alternate' type='text/html' href='http://dangofactory.net/cgit/cgit.cgi/Server/python.git/commit/?id=10fd0aaf8b2dae1101cc2e33d15ecd43911aa3a1'/>
<id>urn:sha1:10fd0aaf8b2dae1101cc2e33d15ecd43911aa3a1</id>
<content type='text'>
</content>
</entry>
<entry>
<title>Issue #27185: Rename test_string.py to test_string_merged.py.</title>
<updated>2016-06-03T07:30:25Z</updated>
<author>
<name>Serhiy Storchaka</name>
<email>storchaka@gmail.com</email>
</author>
<published>2016-06-03T07:30:25Z</published>
<link rel='alternate' type='text/html' href='http://dangofactory.net/cgit/cgit.cgi/Server/python.git/commit/?id=9415bc41aba17e8e0adc9312ad9d96e4eeb5c842'/>
<id>urn:sha1:9415bc41aba17e8e0adc9312ad9d96e4eeb5c842</id>
<content type='text'>
</content>
</entry>
<entry>
<title>Issue #25034: Merge from 3.4.</title>
<updated>2015-09-29T14:30:04Z</updated>
<author>
<name>Eric V. Smith</name>
<email>eric@trueblade.com</email>
</author>
<published>2015-09-29T14:30:04Z</published>
<link rel='alternate' type='text/html' href='http://dangofactory.net/cgit/cgit.cgi/Server/python.git/commit/?id=ad4003c7fb9072c2697480ee84440408f7a49cd9'/>
<id>urn:sha1:ad4003c7fb9072c2697480ee84440408f7a49cd9</id>
<content type='text'>
</content>
</entry>
<entry>
<title>Fixed issue #25034: Fix string.Formatter problem with auto-numbering</title>
<updated>2015-09-29T14:27:38Z</updated>
<author>
<name>Eric V. Smith</name>
<email>eric@trueblade.com</email>
</author>
<published>2015-09-29T14:27:38Z</published>
<link rel='alternate' type='text/html' href='http://dangofactory.net/cgit/cgit.cgi/Server/python.git/commit/?id=85976b14ddb941670ee831ed18b5bc69ca1380ac'/>
<id>urn:sha1:85976b14ddb941670ee831ed18b5bc69ca1380ac</id>
<content type='text'>
and nested format_specs. Patch by Anthon van der Neut.
</content>
</entry>
<entry>
<title>#11754: test contents of string module attributes.</title>
<updated>2015-04-14T00:04:29Z</updated>
<author>
<name>R David Murray</name>
<email>rdmurray@bitdance.com</email>
</author>
<published>2015-04-14T00:04:29Z</published>
<link rel='alternate' type='text/html' href='http://dangofactory.net/cgit/cgit.cgi/Server/python.git/commit/?id=0a8f43e85a002db670f358b65fba1e094fd7f4b5'/>
<id>urn:sha1:0a8f43e85a002db670f358b65fba1e094fd7f4b5</id>
<content type='text'>
As noted in the comment, while the order of the items in the attributes is not
technically guaranteed, after all this time there is almost certainly user
code out there that relies on it, so we might as well test for it.

Patch by Chalmer Lowe.
</content>
</entry>
<entry>
<title>Issue #21741: Update 147 test modules to use test discovery.</title>
<updated>2015-04-13T20:00:43Z</updated>
<author>
<name>Zachary Ware</name>
<email>zachary.ware@gmail.com</email>
</author>
<published>2015-04-13T20:00:43Z</published>
<link rel='alternate' type='text/html' href='http://dangofactory.net/cgit/cgit.cgi/Server/python.git/commit/?id=38c707e7e0322f9139bb51ad73ede1e3b46985ef'/>
<id>urn:sha1:38c707e7e0322f9139bb51ad73ede1e3b46985ef</id>
<content type='text'>
I have compared output between pre- and post-patch runs of these tests
to make sure there's nothing missing and nothing broken, on both
Windows and Linux.  The only differences I found were actually tests
that were previously *not* run.
</content>
</entry>
</feed>
