<feed xmlns='http://www.w3.org/2005/Atom'>
<title>delta/cpython-git.git/Python/pystrhex.c, branch enum-lost-fixes</title>
<subtitle>github.com: python/cpython.git
</subtitle>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/cpython-git.git/'/>
<entry>
<title>bpo-40313: speed up bytes.hex() (GH-19594)</title>
<updated>2020-04-21T00:17:52+00:00</updated>
<author>
<name>sweeneyde</name>
<email>36520290+sweeneyde@users.noreply.github.com</email>
</author>
<published>2020-04-21T00:17:52+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/cpython-git.git/commit/?id=6a9e80a93148b13e4d3bceaab5ea1804ab0e64d5'/>
<id>6a9e80a93148b13e4d3bceaab5ea1804ab0e64d5</id>
<content type='text'>
Automerge-Triggered-By: @gpshead</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Automerge-Triggered-By: @gpshead</pre>
</div>
</content>
</entry>
<entry>
<title>Optimize _Py_strhex_impl() (GH-19535)</title>
<updated>2020-04-15T12:05:24+00:00</updated>
<author>
<name>Victor Stinner</name>
<email>vstinner@python.org</email>
</author>
<published>2020-04-15T12:05:24+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/cpython-git.git/commit/?id=455df9779873b8335b20292b8d0c43d66338a4db'/>
<id>455df9779873b8335b20292b8d0c43d66338a4db</id>
<content type='text'>
Avoid a temporary buffer to create a bytes string: use
PyBytes_FromStringAndSize() to directly allocate a bytes object.

Cleanup also the code: PEP 7 formatting, move variable definitions
closer to where they are used. Fix assertion checking "j" index.</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Avoid a temporary buffer to create a bytes string: use
PyBytes_FromStringAndSize() to directly allocate a bytes object.

Cleanup also the code: PEP 7 formatting, move variable definitions
closer to where they are used. Fix assertion checking "j" index.</pre>
</div>
</content>
</entry>
<entry>
<title>Fix unused variable and signed/unsigned warnings (GH-15537)</title>
<updated>2019-08-27T16:55:13+00:00</updated>
<author>
<name>Raymond Hettinger</name>
<email>rhettinger@users.noreply.github.com</email>
</author>
<published>2019-08-27T16:55:13+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/cpython-git.git/commit/?id=0138c4ceab1e10d42d0aa962d2ae079b46da7671'/>
<id>0138c4ceab1e10d42d0aa962d2ae079b46da7671</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>Fix compiler warnings in the pystrehex module (GH-13730)</title>
<updated>2019-06-01T20:02:08+00:00</updated>
<author>
<name>Pablo Galindo</name>
<email>Pablogsal@gmail.com</email>
</author>
<published>2019-06-01T20:02:08+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/cpython-git.git/commit/?id=938d9a0167f7fa4ed109484d269902021d274c64'/>
<id>938d9a0167f7fa4ed109484d269902021d274c64</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>bpo-22385: Support output separators in hex methods. (#13578)</title>
<updated>2019-05-29T18:46:58+00:00</updated>
<author>
<name>Gregory P. Smith</name>
<email>greg@krypto.org</email>
</author>
<published>2019-05-29T18:46:58+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/cpython-git.git/commit/?id=0c2f9305640f7655ba0cd5f478948b2763b376b3'/>
<id>0c2f9305640f7655ba0cd5f478948b2763b376b3</id>
<content type='text'>
* bpo-22385: Support output separators in hex methods.

Also in binascii.hexlify aka b2a_hex.

The underlying implementation behind all hex generation in CPython uses the
same pystrhex.c implementation.  This adds support to bytes, bytearray,
and memoryview objects.

The binascii module functions exist rather than being slated for deprecation
because they return bytes rather than requiring an intermediate step through a
str object.

This change was inspired by MicroPython which supports sep in its binascii
implementation (and does not yet support the .hex methods).

https://bugs.python.org/issue22385</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
* bpo-22385: Support output separators in hex methods.

Also in binascii.hexlify aka b2a_hex.

The underlying implementation behind all hex generation in CPython uses the
same pystrhex.c implementation.  This adds support to bytes, bytearray,
and memoryview objects.

The binascii module functions exist rather than being slated for deprecation
because they return bytes rather than requiring an intermediate step through a
str object.

This change was inspired by MicroPython which supports sep in its binascii
implementation (and does not yet support the .hex methods).

https://bugs.python.org/issue22385</pre>
</div>
</content>
</entry>
<entry>
<title>closes bpo-34646: Remove PyAPI_* macros from declarations. (GH-9218)</title>
<updated>2018-09-12T19:06:42+00:00</updated>
<author>
<name>Benjamin Peterson</name>
<email>benjamin@python.org</email>
</author>
<published>2018-09-12T19:06:42+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/cpython-git.git/commit/?id=e5024517811ee990b770fca0ba7058742d00e032'/>
<id>e5024517811ee990b770fca0ba7058742d00e032</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>bpo-32150: Expand tabs to spaces in C files. (#4583)</title>
<updated>2017-11-28T15:56:10+00:00</updated>
<author>
<name>Serhiy Storchaka</name>
<email>storchaka@gmail.com</email>
</author>
<published>2017-11-28T15:56:10+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/cpython-git.git/commit/?id=598ceae876ff4a23072e59945597e945583de4ab'/>
<id>598ceae876ff4a23072e59945597e945583de4ab</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>Silence a gcc "may be used uninitialized" compiler warning.  Not true.</title>
<updated>2015-04-26T06:51:39+00:00</updated>
<author>
<name>Gregory P. Smith</name>
<email>greg@krypto.org</email>
</author>
<published>2015-04-26T06:51:39+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/cpython-git.git/commit/?id=f789465eed2d9127fb60baad6f19f18714a604cc'/>
<id>f789465eed2d9127fb60baad6f19f18714a604cc</id>
<content type='text'>
Initializing retval prevents the naive warning.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Initializing retval prevents the naive warning.
</pre>
</div>
</content>
</entry>
<entry>
<title>Add missing PyAPI_FUNC macro's to the public functions as other .c files do</title>
<updated>2015-04-26T04:59:52+00:00</updated>
<author>
<name>Gregory P. Smith</name>
<email>greg@krypto.org</email>
</author>
<published>2015-04-26T04:59:52+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/cpython-git.git/commit/?id=5d0ccd2f91965228921663032256eb165c9c2680'/>
<id>5d0ccd2f91965228921663032256eb165c9c2680</id>
<content type='text'>
in hopes that this fixes the windows extension module link error for modules
trying to call _Py_strhex functions.  issue9951.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
in hopes that this fixes the windows extension module link error for modules
trying to call _Py_strhex functions.  issue9951.
</pre>
</div>
</content>
</entry>
<entry>
<title>Add the files missing from c9f1630cf2b1 for issue9951.</title>
<updated>2015-04-26T00:41:00+00:00</updated>
<author>
<name>Gregory P. Smith</name>
<email>greg@krypto.org</email>
</author>
<published>2015-04-26T00:41:00+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/cpython-git.git/commit/?id=e3f6393b52b513036e9d3145a4e3802e77d5e3b1'/>
<id>e3f6393b52b513036e9d3145a4e3802e77d5e3b1</id>
<content type='text'>
hg status should be my friend more often...
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
hg status should be my friend more often...
</pre>
</div>
</content>
</entry>
</feed>
