<feed xmlns='http://www.w3.org/2005/Atom'>
<title>cpython.git/Include/cpython/bytesobject.h, branch v3.14.0b2</title>
<subtitle>https://github.com/python/cpython.git</subtitle>
<link rel='alternate' type='text/html' href='http://service.techsat.com/oss-git/cpython.git/'/>
<entry>
<title>gh-128863: Deprecate private C API functions (#128864)</title>
<updated>2025-01-22T11:04:19Z</updated>
<author>
<name>Victor Stinner</name>
<email>vstinner@python.org</email>
</author>
<published>2025-01-22T11:04:19Z</published>
<link rel='alternate' type='text/html' href='http://service.techsat.com/oss-git/cpython.git/commit/?id=9012fa741d55419dc77c5c191794eb93e71ae9a4'/>
<id>9012fa741d55419dc77c5c191794eb93e71ae9a4</id>
<content type='text'>
Deprecate private C API functions:

* _PyBytes_Join()
* _PyDict_GetItemStringWithError()
* _PyDict_Pop()
* _PyThreadState_UncheckedGet()
* _PyUnicode_AsString()
* _Py_HashPointer()
* _Py_fopen_obj()

Replace _Py_HashPointer() with Py_HashPointer().

Remove references to deprecated functions.</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Deprecate private C API functions:

* _PyBytes_Join()
* _PyDict_GetItemStringWithError()
* _PyDict_Pop()
* _PyThreadState_UncheckedGet()
* _PyUnicode_AsString()
* _Py_HashPointer()
* _Py_fopen_obj()

Replace _Py_HashPointer() with Py_HashPointer().

Remove references to deprecated functions.</pre>
</div>
</content>
</entry>
<entry>
<title>gh-121645: Add PyBytes_Join() function (#121646)</title>
<updated>2024-08-30T12:57:33Z</updated>
<author>
<name>Victor Stinner</name>
<email>vstinner@python.org</email>
</author>
<published>2024-08-30T12:57:33Z</published>
<link rel='alternate' type='text/html' href='http://service.techsat.com/oss-git/cpython.git/commit/?id=3d60dfbe1755e00ab20d0ee81281886be77ad5da'/>
<id>3d60dfbe1755e00ab20d0ee81281886be77ad5da</id>
<content type='text'>
* Replace _PyBytes_Join() with PyBytes_Join().
* Keep _PyBytes_Join() as an alias to PyBytes_Join().</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
* Replace _PyBytes_Join() with PyBytes_Join().
* Keep _PyBytes_Join() as an alias to PyBytes_Join().</pre>
</div>
</content>
</entry>
<entry>
<title>gh-121489: Export private _PyBytes_Join() again (#122267)</title>
<updated>2024-07-25T15:31:30Z</updated>
<author>
<name>Marc Mueller</name>
<email>30130371+cdce8p@users.noreply.github.com</email>
</author>
<published>2024-07-25T15:31:30Z</published>
<link rel='alternate' type='text/html' href='http://service.techsat.com/oss-git/cpython.git/commit/?id=aef95eb107fef9355c66461612aedd31265f8c21'/>
<id>aef95eb107fef9355c66461612aedd31265f8c21</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>gh-106320: Remove _PyBytes_Join() C API (#107144)</title>
<updated>2023-07-23T20:10:12Z</updated>
<author>
<name>Victor Stinner</name>
<email>vstinner@python.org</email>
</author>
<published>2023-07-23T20:10:12Z</published>
<link rel='alternate' type='text/html' href='http://service.techsat.com/oss-git/cpython.git/commit/?id=7d41ead9191a18bc473534f6f8bd1095f2232cc2'/>
<id>7d41ead9191a18bc473534f6f8bd1095f2232cc2</id>
<content type='text'>
Move private _PyBytes functions to the internal C API
(pycore_bytesobject.h):

* _PyBytes_DecodeEscape()
* _PyBytes_FormatEx()
* _PyBytes_FromHex()
* _PyBytes_Join()

No longer export these functions.</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Move private _PyBytes functions to the internal C API
(pycore_bytesobject.h):

* _PyBytes_DecodeEscape()
* _PyBytes_FormatEx()
* _PyBytes_FromHex()
* _PyBytes_Join()

No longer export these functions.</pre>
</div>
</content>
</entry>
<entry>
<title>gh-106320: Remove _PyBytesWriter C API (#106399)</title>
<updated>2023-07-04T08:27:23Z</updated>
<author>
<name>Victor Stinner</name>
<email>vstinner@python.org</email>
</author>
<published>2023-07-04T08:27:23Z</published>
<link rel='alternate' type='text/html' href='http://service.techsat.com/oss-git/cpython.git/commit/?id=ec931fc3943df0b94f2e250d7723892f2b3414bd'/>
<id>ec931fc3943df0b94f2e250d7723892f2b3414bd</id>
<content type='text'>
Remove the _PyBytesWriter C API: move it to the internal C API
(pycore_bytesobject.h).</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Remove the _PyBytesWriter C API: move it to the internal C API
(pycore_bytesobject.h).</pre>
</div>
</content>
</entry>
<entry>
<title>gh-89653: PEP 670: Macros always cast arguments in cpython/ (#93766)</title>
<updated>2022-06-13T18:09:40Z</updated>
<author>
<name>Victor Stinner</name>
<email>vstinner@python.org</email>
</author>
<published>2022-06-13T18:09:40Z</published>
<link rel='alternate' type='text/html' href='http://service.techsat.com/oss-git/cpython.git/commit/?id=df22eec4215e515e36e387b9022fb8ca95fd39af'/>
<id>df22eec4215e515e36e387b9022fb8ca95fd39af</id>
<content type='text'>
Header files in the Include/cpython/ are only included if
the Py_LIMITED_API macro is not defined.</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Header files in the Include/cpython/ are only included if
the Py_LIMITED_API macro is not defined.</pre>
</div>
</content>
</entry>
<entry>
<title>gh-89653: PEP 670: Convert PyBytes macros to functions (#91990)</title>
<updated>2022-05-03T18:14:58Z</updated>
<author>
<name>Victor Stinner</name>
<email>vstinner@python.org</email>
</author>
<published>2022-05-03T18:14:58Z</published>
<link rel='alternate' type='text/html' href='http://service.techsat.com/oss-git/cpython.git/commit/?id=2eca5dad0a783153318e91e3e25f16a38a632bfd'/>
<id>2eca5dad0a783153318e91e3e25f16a38a632bfd</id>
<content type='text'>
Convert the following macros to static inline functions:

* PyByteArray_AS_STRING()
* PyByteArray_GET_SIZE()
* PyBytes_AS_STRING()
* PyBytes_GET_SIZE()

Limited C API version 3.11 no longer casts arguments.

Add _PyBytes_CAST() and _PyByteArray_CAST() macros.</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Convert the following macros to static inline functions:

* PyByteArray_AS_STRING()
* PyByteArray_GET_SIZE()
* PyBytes_AS_STRING()
* PyBytes_GET_SIZE()

Limited C API version 3.11 no longer casts arguments.

Add _PyBytes_CAST() and _PyByteArray_CAST() macros.</pre>
</div>
</content>
</entry>
<entry>
<title>bpo-46864: Deprecate PyBytesObject.ob_shash. (GH-31598)</title>
<updated>2022-03-06T02:39:10Z</updated>
<author>
<name>Inada Naoki</name>
<email>songofacandy@gmail.com</email>
</author>
<published>2022-03-06T02:39:10Z</published>
<link rel='alternate' type='text/html' href='http://service.techsat.com/oss-git/cpython.git/commit/?id=2d8b764210c8de10893665aaeec8277b687975cd'/>
<id>2d8b764210c8de10893665aaeec8277b687975cd</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>bpo-46848: Move _PyBytes_Find() to internal C API (GH-31642)</title>
<updated>2022-03-02T13:15:26Z</updated>
<author>
<name>Victor Stinner</name>
<email>vstinner@python.org</email>
</author>
<published>2022-03-02T13:15:26Z</published>
<link rel='alternate' type='text/html' href='http://service.techsat.com/oss-git/cpython.git/commit/?id=b6b711a1aa233001c1874af1d920e459b6bf962c'/>
<id>b6b711a1aa233001c1874af1d920e459b6bf962c</id>
<content type='text'>
Move _PyBytes_Find() and _PyBytes_ReverseFind() functions to the
internal C API.

bytesobject.c now includes pycore_bytesobject.h.</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Move _PyBytes_Find() and _PyBytes_ReverseFind() functions to the
internal C API.

bytesobject.c now includes pycore_bytesobject.h.</pre>
</div>
</content>
</entry>
<entry>
<title>bpo-46848: Use stringlib/fastsearch in mmap (GH-31625)</title>
<updated>2022-03-02T04:46:30Z</updated>
<author>
<name>Dennis Sweeney</name>
<email>36520290+sweeneyde@users.noreply.github.com</email>
</author>
<published>2022-03-02T04:46:30Z</published>
<link rel='alternate' type='text/html' href='http://service.techsat.com/oss-git/cpython.git/commit/?id=6ddb09f35b922a3bbb59e408a3ca7636a6938468'/>
<id>6ddb09f35b922a3bbb59e408a3ca7636a6938468</id>
<content type='text'>
Speed up mmap.find(). Add _PyBytes_Find() and _PyBytes_ReverseFind().</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Speed up mmap.find(). Add _PyBytes_Find() and _PyBytes_ReverseFind().</pre>
</div>
</content>
</entry>
</feed>
