<feed xmlns='http://www.w3.org/2005/Atom'>
<title>delta/cpython-git.git/Objects/stringlib/codecs.h, branch fix-misc-acks</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>[3.7] bpo-24214: Fixed the UTF-8 and UTF-16 incremental decoders. (GH-14304) (GH-14369)</title>
<updated>2019-06-25T10:29:18+00:00</updated>
<author>
<name>Miss Islington (bot)</name>
<email>31488909+miss-islington@users.noreply.github.com</email>
</author>
<published>2019-06-25T10:29:18+00:00</published>
<link rel='alternate' type='text/html' href='http://91.123.203.49/cgit/delta/cpython-git.git/commit/?id=c755ca89c75252a7aae9beae82fd47787a76b9e2'/>
<id>c755ca89c75252a7aae9beae82fd47787a76b9e2</id>
<content type='text'>
* bpo-24214: Fixed the UTF-8 and UTF-16 incremental decoders. (GH-14304)

* The UTF-8 incremental decoders fails now fast if encounter
  a sequence that can't be handled by the error handler.
* The UTF-16 incremental decoders with the surrogatepass error
  handler decodes now a lone low surrogate with final=False.
(cherry picked from commit 894263ba80af4b7733c2df95b527e96953922656)

Co-authored-by: Serhiy Storchaka &lt;storchaka@gmail.com&gt;</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
* bpo-24214: Fixed the UTF-8 and UTF-16 incremental decoders. (GH-14304)

* The UTF-8 incremental decoders fails now fast if encounter
  a sequence that can't be handled by the error handler.
* The UTF-16 incremental decoders with the surrogatepass error
  handler decodes now a lone low surrogate with final=False.
(cherry picked from commit 894263ba80af4b7733c2df95b527e96953922656)

Co-authored-by: Serhiy Storchaka &lt;storchaka@gmail.com&gt;</pre>
</div>
</content>
</entry>
<entry>
<title>bpo-30923: Silence fall-through warnings included in -Wextra since gcc-7.0. (#3157)</title>
<updated>2017-08-21T11:09:59+00:00</updated>
<author>
<name>Stefan Krah</name>
<email>skrah@bytereef.org</email>
</author>
<published>2017-08-21T11:09:59+00:00</published>
<link rel='alternate' type='text/html' href='http://91.123.203.49/cgit/delta/cpython-git.git/commit/?id=f432a3234f9f2ee09bd40be03e06bf72865ee375'/>
<id>f432a3234f9f2ee09bd40be03e06bf72865ee375</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>Issue #28561: Clean up UTF-8 encoder: remove dead code, update comments, etc.</title>
<updated>2016-10-30T16:25:27+00:00</updated>
<author>
<name>Serhiy Storchaka</name>
<email>storchaka@gmail.com</email>
</author>
<published>2016-10-30T16:25:27+00:00</published>
<link rel='alternate' type='text/html' href='http://91.123.203.49/cgit/delta/cpython-git.git/commit/?id=998c9cdd423409e2b40e02eb41614536f9d8005c'/>
<id>998c9cdd423409e2b40e02eb41614536f9d8005c</id>
<content type='text'>
Patch by Xiang Zhang.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Patch by Xiang Zhang.
</pre>
</div>
</content>
</entry>
<entry>
<title>PEP 7 style for if/else in C</title>
<updated>2016-09-02T10:12:23+00:00</updated>
<author>
<name>Victor Stinner</name>
<email>victor.stinner@gmail.com</email>
</author>
<published>2016-09-02T10:12:23+00:00</published>
<link rel='alternate' type='text/html' href='http://91.123.203.49/cgit/delta/cpython-git.git/commit/?id=1a05d6c04d2a499a7485b15668f2eb37f9f60e3a'/>
<id>1a05d6c04d2a499a7485b15668f2eb37f9f60e3a</id>
<content type='text'>
Add also a newline for readability in normalize_encoding().
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Add also a newline for readability in normalize_encoding().
</pre>
</div>
</content>
</entry>
<entry>
<title>Issue #27895:  Spelling fixes (Contributed by Ville Skyttä).</title>
<updated>2016-08-30T17:47:49+00:00</updated>
<author>
<name>Raymond Hettinger</name>
<email>python@rcn.com</email>
</author>
<published>2016-08-30T17:47:49+00:00</published>
<link rel='alternate' type='text/html' href='http://91.123.203.49/cgit/delta/cpython-git.git/commit/?id=15f44ab043b37c064d6891c7864205fed9fb0dd1'/>
<id>15f44ab043b37c064d6891c7864205fed9fb0dd1</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>Issue #26765: Ensure that bytes- and unicode-specific stringlib files are used</title>
<updated>2016-05-16T06:42:29+00:00</updated>
<author>
<name>Serhiy Storchaka</name>
<email>storchaka@gmail.com</email>
</author>
<published>2016-05-16T06:42:29+00:00</published>
<link rel='alternate' type='text/html' href='http://91.123.203.49/cgit/delta/cpython-git.git/commit/?id=bcde10aa7e47da68afb68fe75c65b9339dd89f86'/>
<id>bcde10aa7e47da68afb68fe75c65b9339dd89f86</id>
<content type='text'>
with correct type.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
with correct type.
</pre>
</div>
</content>
</entry>
<entry>
<title>Optimize error handlers of ASCII and Latin1 encoders when the replacement</title>
<updated>2015-10-09T11:10:05+00:00</updated>
<author>
<name>Victor Stinner</name>
<email>victor.stinner@gmail.com</email>
</author>
<published>2015-10-09T11:10:05+00:00</published>
<link rel='alternate' type='text/html' href='http://91.123.203.49/cgit/delta/cpython-git.git/commit/?id=6bd525b656f75c9752d39d9c4be1e1b29fa67cdb'/>
<id>6bd525b656f75c9752d39d9c4be1e1b29fa67cdb</id>
<content type='text'>
string is pure ASCII: use _PyBytesWriter_WriteBytes(), don't check individual
character.

Cleanup unicode_encode_ucs1():

* Rename repunicode to rep
* Clear rep object on error
* Factorize code between bytes and unicode path
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
string is pure ASCII: use _PyBytesWriter_WriteBytes(), don't check individual
character.

Cleanup unicode_encode_ucs1():

* Rename repunicode to rep
* Clear rep object on error
* Factorize code between bytes and unicode path
</pre>
</div>
</content>
</entry>
<entry>
<title>Add _PyBytesWriter_WriteBytes() to factorize the code</title>
<updated>2015-10-09T10:57:22+00:00</updated>
<author>
<name>Victor Stinner</name>
<email>victor.stinner@gmail.com</email>
</author>
<published>2015-10-09T10:57:22+00:00</published>
<link rel='alternate' type='text/html' href='http://91.123.203.49/cgit/delta/cpython-git.git/commit/?id=ce179bf6baed91ba84cc3ff647e96287c3b8e2f2'/>
<id>ce179bf6baed91ba84cc3ff647e96287c3b8e2f2</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>_PyBytesWriter: simplify code to avoid "prealloc" parameters</title>
<updated>2015-10-09T10:38:53+00:00</updated>
<author>
<name>Victor Stinner</name>
<email>victor.stinner@gmail.com</email>
</author>
<published>2015-10-09T10:38:53+00:00</published>
<link rel='alternate' type='text/html' href='http://91.123.203.49/cgit/delta/cpython-git.git/commit/?id=ad7715891e3c6c51b4860e0d496843ee5417206b'/>
<id>ad7715891e3c6c51b4860e0d496843ee5417206b</id>
<content type='text'>
Substract preallocate bytes from min_size before calling
_PyBytesWriter_Prepare().
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Substract preallocate bytes from min_size before calling
_PyBytesWriter_Prepare().
</pre>
</div>
</content>
</entry>
<entry>
<title>Optimize backslashreplace error handler</title>
<updated>2015-10-08T23:39:28+00:00</updated>
<author>
<name>Victor Stinner</name>
<email>victor.stinner@gmail.com</email>
</author>
<published>2015-10-08T23:39:28+00:00</published>
<link rel='alternate' type='text/html' href='http://91.123.203.49/cgit/delta/cpython-git.git/commit/?id=e7bf86cd7d7c9a3924501875a08c4ef4a0063103'/>
<id>e7bf86cd7d7c9a3924501875a08c4ef4a0063103</id>
<content type='text'>
Issue #25318: Optimize backslashreplace and xmlcharrefreplace error handlers in
UTF-8 encoder. Optimize also backslashreplace error handler for ASCII and
Latin1 encoders.

Use the new _PyBytesWriter API to optimize these error handlers for the
encoders. It avoids to create an exception and call the slow implementation of
the error handler.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Issue #25318: Optimize backslashreplace and xmlcharrefreplace error handlers in
UTF-8 encoder. Optimize also backslashreplace error handler for ASCII and
Latin1 encoders.

Use the new _PyBytesWriter API to optimize these error handlers for the
encoders. It avoids to create an exception and call the slow implementation of
the error handler.
</pre>
</div>
</content>
</entry>
</feed>
