<feed xmlns='http://www.w3.org/2005/Atom'>
<title>delta/cpython-git.git/Lib/string.py, branch faster-bytes-iter</title>
<subtitle>github.com: python/cpython.git
</subtitle>
<link rel='alternate' type='text/html' href='http://91.123.203.49/cgit/delta/cpython-git.git/'/>
<entry>
<title>bpo-38208: Simplify string.Template by using __init_subclass__(). (GH-16256)</title>
<updated>2019-10-21T06:36:21+00:00</updated>
<author>
<name>Serhiy Storchaka</name>
<email>storchaka@gmail.com</email>
</author>
<published>2019-10-21T06:36:21+00:00</published>
<link rel='alternate' type='text/html' href='http://91.123.203.49/cgit/delta/cpython-git.git/commit/?id=919f0bc8c904d3aa13eedb2dd1fe9c6b0555a591'/>
<id>919f0bc8c904d3aa13eedb2dd1fe9c6b0555a591</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>bpo-37116: Use PEP 570 syntax for positional-only parameters. (GH-13700)</title>
<updated>2019-06-01T08:00:15+00:00</updated>
<author>
<name>Serhiy Storchaka</name>
<email>storchaka@gmail.com</email>
</author>
<published>2019-06-01T08:00:15+00:00</published>
<link rel='alternate' type='text/html' href='http://91.123.203.49/cgit/delta/cpython-git.git/commit/?id=2085bd0877e17ad4d98a4586d5eabb6faecbb190'/>
<id>2085bd0877e17ad4d98a4586d5eabb6faecbb190</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>bpo-31672: Restore the former behavior when override flags in Template. (#5099)</title>
<updated>2018-01-04T17:20:11+00:00</updated>
<author>
<name>Serhiy Storchaka</name>
<email>storchaka@gmail.com</email>
</author>
<published>2018-01-04T17:20:11+00:00</published>
<link rel='alternate' type='text/html' href='http://91.123.203.49/cgit/delta/cpython-git.git/commit/?id=87be28f4a1c5b76926c71a3d9f92503f9eb82d51'/>
<id>87be28f4a1c5b76926c71a3d9f92503f9eb82d51</id>
<content type='text'>
Overriding flags to 0 will make the default pattern matching only
lower case letters.</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Overriding flags to 0 will make the default pattern matching only
lower case letters.</pre>
</div>
</content>
</entry>
<entry>
<title>bpo-31672 - Add one last minor clarification for idpattern (#4483)</title>
<updated>2017-11-21T15:28:13+00:00</updated>
<author>
<name>Barry Warsaw</name>
<email>barry@python.org</email>
</author>
<published>2017-11-21T15:28:13+00:00</published>
<link rel='alternate' type='text/html' href='http://91.123.203.49/cgit/delta/cpython-git.git/commit/?id=e256b408889eba867e1d90e5e1a0904843256255'/>
<id>e256b408889eba867e1d90e5e1a0904843256255</id>
<content type='text'>
Add one last minor clarification for idpattern</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Add one last minor clarification for idpattern</pre>
</div>
</content>
</entry>
<entry>
<title>bpo-31672: Fix string.Template accidentally matched non-ASCII identifiers (GH-3872)</title>
<updated>2017-10-13T07:02:23+00:00</updated>
<author>
<name>INADA Naoki</name>
<email>methane@users.noreply.github.com</email>
</author>
<published>2017-10-13T07:02:23+00:00</published>
<link rel='alternate' type='text/html' href='http://91.123.203.49/cgit/delta/cpython-git.git/commit/?id=b22273ec5d1992b0cbe078b887427ae9977dfb78'/>
<id>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>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
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]`.</pre>
</div>
</content>
</entry>
<entry>
<title>bpo-1198569: Allow string.Template braced pattern to be different (#3288)</title>
<updated>2017-09-04T20:32:10+00:00</updated>
<author>
<name>Barry Warsaw</name>
<email>barry@python.org</email>
</author>
<published>2017-09-04T20:32:10+00:00</published>
<link rel='alternate' type='text/html' href='http://91.123.203.49/cgit/delta/cpython-git.git/commit/?id=ba4279683f8eb8f59be10d12547ea89480614388'/>
<id>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>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
* 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``.
</pre>
</div>
</content>
</entry>
<entry>
<title>Issue #29193: A format string argument for string.Formatter.format()</title>
<updated>2017-01-13T07:10:51+00:00</updated>
<author>
<name>Serhiy Storchaka</name>
<email>storchaka@gmail.com</email>
</author>
<published>2017-01-13T07:10:51+00:00</published>
<link rel='alternate' type='text/html' href='http://91.123.203.49/cgit/delta/cpython-git.git/commit/?id=009b0a1face9c16b608b3cd18df8c88632006ae1'/>
<id>009b0a1face9c16b608b3cd18df8c88632006ae1</id>
<content type='text'>
is now positional-only.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
is now positional-only.
</pre>
</div>
</content>
</entry>
<entry>
<title>#27364: fix "incorrect" uses of escape character in the stdlib.</title>
<updated>2016-09-08T17:59:53+00:00</updated>
<author>
<name>R David Murray</name>
<email>rdmurray@bitdance.com</email>
</author>
<published>2016-09-08T17:59:53+00:00</published>
<link rel='alternate' type='text/html' href='http://91.123.203.49/cgit/delta/cpython-git.git/commit/?id=44b548dda872c0d4f30afd6b44fd74b053a55ad8'/>
<id>44b548dda872c0d4f30afd6b44fd74b053a55ad8</id>
<content type='text'>
And most of the tools.

Patch by Emanual Barry, reviewed by me, Serhiy Storchaka, and
Martin Panter.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
And most of the tools.

Patch by Emanual Barry, reviewed by me, Serhiy Storchaka, and
Martin Panter.
</pre>
</div>
</content>
</entry>
<entry>
<title>Closes #26809: Merge with 3.5</title>
<updated>2016-06-04T19:41:42+00:00</updated>
<author>
<name>Zachary Ware</name>
<email>zachary.ware@gmail.com</email>
</author>
<published>2016-06-04T19:41:42+00:00</published>
<link rel='alternate' type='text/html' href='http://91.123.203.49/cgit/delta/cpython-git.git/commit/?id=8bc9378c98e0dab872e41c59e1cb00c0fab1a146'/>
<id>8bc9378c98e0dab872e41c59e1cb00c0fab1a146</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>Issue #26809: Add __all__ to string module.  Patch by Emanuel Barry</title>
<updated>2016-06-04T19:35:05+00:00</updated>
<author>
<name>Zachary Ware</name>
<email>zachary.ware@gmail.com</email>
</author>
<published>2016-06-04T19:35:05+00:00</published>
<link rel='alternate' type='text/html' href='http://91.123.203.49/cgit/delta/cpython-git.git/commit/?id=c17a0b87a682dab464d40a8ae1d16c009a1818ce'/>
<id>c17a0b87a682dab464d40a8ae1d16c009a1818ce</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
</feed>
