<feed xmlns='http://www.w3.org/2005/Atom'>
<title>delta/cpython-git.git/Python/getargs.c, branch fix-cf-feature-versiob</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-40943: PY_SSIZE_T_CLEAN required for '#' formats (GH-20784)</title>
<updated>2020-06-19T09:45:31+00:00</updated>
<author>
<name>Victor Stinner</name>
<email>vstinner@python.org</email>
</author>
<published>2020-06-19T09:45:31+00:00</published>
<link rel='alternate' type='text/html' href='http://91.123.203.49/cgit/delta/cpython-git.git/commit/?id=37bb2895561d3e63a631f10875567b4e33b30c07'/>
<id>37bb2895561d3e63a631f10875567b4e33b30c07</id>
<content type='text'>
The PY_SSIZE_T_CLEAN macro must now be defined to use
PyArg_ParseTuple() and Py_BuildValue() "#" formats: "es#", "et#",
"s#", "u#", "y#", "z#", "U#" and "Z#". See the PEP 353.

Update _testcapi.test_buildvalue_issue38913().</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
The PY_SSIZE_T_CLEAN macro must now be defined to use
PyArg_ParseTuple() and Py_BuildValue() "#" formats: "es#", "et#",
"s#", "u#", "y#", "z#", "U#" and "Z#". See the PEP 353.

Update _testcapi.test_buildvalue_issue38913().</pre>
</div>
</content>
</entry>
<entry>
<title>bpo-36346: Add Py_DEPRECATED to deprecated unicode APIs (GH-20878)</title>
<updated>2020-06-17T11:09:44+00:00</updated>
<author>
<name>Inada Naoki</name>
<email>songofacandy@gmail.com</email>
</author>
<published>2020-06-17T11:09:44+00:00</published>
<link rel='alternate' type='text/html' href='http://91.123.203.49/cgit/delta/cpython-git.git/commit/?id=2c4928d37edc5e4aeec3c0b79fa3460b1ec9b60d'/>
<id>2c4928d37edc5e4aeec3c0b79fa3460b1ec9b60d</id>
<content type='text'>
Co-authored-by: Kyle Stanley &lt;aeros167@gmail.com&gt;
Co-authored-by: Victor Stinner &lt;vstinner@python.org&gt;</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Co-authored-by: Kyle Stanley &lt;aeros167@gmail.com&gt;
Co-authored-by: Victor Stinner &lt;vstinner@python.org&gt;</pre>
</div>
</content>
</entry>
<entry>
<title>bpo-40943: Replace PY_FORMAT_SIZE_T with "z" (GH-20781)</title>
<updated>2020-06-10T16:38:05+00:00</updated>
<author>
<name>Victor Stinner</name>
<email>vstinner@python.org</email>
</author>
<published>2020-06-10T16:38:05+00:00</published>
<link rel='alternate' type='text/html' href='http://91.123.203.49/cgit/delta/cpython-git.git/commit/?id=d36cf5f1d20ce9f111a8fc997104785086e8eee6'/>
<id>d36cf5f1d20ce9f111a8fc997104785086e8eee6</id>
<content type='text'>
The PEP 353, written in 2005, introduced PY_FORMAT_SIZE_T. Python no
longer supports macOS 10.4 and Visual Studio 2010, but requires more
recent macOS and Visual Studio versions. In 2020 with Python 3.10, it
is now safe to use directly "%zu" to format size_t and "%zi" to
format Py_ssize_t.</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
The PEP 353, written in 2005, introduced PY_FORMAT_SIZE_T. Python no
longer supports macOS 10.4 and Visual Studio 2010, but requires more
recent macOS and Visual Studio versions. In 2020 with Python 3.10, it
is now safe to use directly "%zu" to format size_t and "%zi" to
format Py_ssize_t.</pre>
</div>
</content>
</entry>
<entry>
<title>bpo-40792: Make the result of PyNumber_Index() always having exact type int. (GH-20443)</title>
<updated>2020-05-28T07:33:45+00:00</updated>
<author>
<name>Serhiy Storchaka</name>
<email>storchaka@gmail.com</email>
</author>
<published>2020-05-28T07:33:45+00:00</published>
<link rel='alternate' type='text/html' href='http://91.123.203.49/cgit/delta/cpython-git.git/commit/?id=5f4b229df7812f1788287095eb6b138bb21876a4'/>
<id>5f4b229df7812f1788287095eb6b138bb21876a4</id>
<content type='text'>
Previously, the result could have been an instance of a subclass of int.

Also revert bpo-26202 and make attributes start, stop and step of the range
object having exact type int.

Add private function _PyNumber_Index() which preserves the old behavior
of PyNumber_Index() for performance to use it in the conversion functions
like PyLong_AsLong().</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Previously, the result could have been an instance of a subclass of int.

Also revert bpo-26202 and make attributes start, stop and step of the range
object having exact type int.

Add private function _PyNumber_Index() which preserves the old behavior
of PyNumber_Index() for performance to use it in the conversion functions
like PyLong_AsLong().</pre>
</div>
</content>
</entry>
<entry>
<title>bpo-37999: No longer use __int__ in implicit integer conversions. (GH-15636)</title>
<updated>2020-05-26T15:43:38+00:00</updated>
<author>
<name>Serhiy Storchaka</name>
<email>storchaka@gmail.com</email>
</author>
<published>2020-05-26T15:43:38+00:00</published>
<link rel='alternate' type='text/html' href='http://91.123.203.49/cgit/delta/cpython-git.git/commit/?id=578c3955e0222ec7b3146197467fbb0fcfae12fe'/>
<id>578c3955e0222ec7b3146197467fbb0fcfae12fe</id>
<content type='text'>
Only __index__ should be used to make integer conversions lossless.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Only __index__ should be used to make integer conversions lossless.
</pre>
</div>
</content>
</entry>
<entry>
<title>bpo-39943: Add the const qualifier to pointers on non-mutable PyUnicode data. (GH-19345)</title>
<updated>2020-04-11T07:48:40+00:00</updated>
<author>
<name>Serhiy Storchaka</name>
<email>storchaka@gmail.com</email>
</author>
<published>2020-04-11T07:48:40+00:00</published>
<link rel='alternate' type='text/html' href='http://91.123.203.49/cgit/delta/cpython-git.git/commit/?id=cd8295ff758891f21084a6a5ad3403d35dda38f7'/>
<id>cd8295ff758891f21084a6a5ad3403d35dda38f7</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>bpo-37207: Add _PyArg_NoKwnames() helper function (GH-18980)</title>
<updated>2020-03-16T14:06:20+00:00</updated>
<author>
<name>Dong-hee Na</name>
<email>donghee.na92@gmail.com</email>
</author>
<published>2020-03-16T14:06:20+00:00</published>
<link rel='alternate' type='text/html' href='http://91.123.203.49/cgit/delta/cpython-git.git/commit/?id=87ec86c425a5cd3ad41b831b54c0ce1a0c363f4b'/>
<id>87ec86c425a5cd3ad41b831b54c0ce1a0c363f4b</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>bpo-39573: Use Py_TYPE() macro in Python and Include directories (GH-18391)</title>
<updated>2020-02-07T01:24:48+00:00</updated>
<author>
<name>Victor Stinner</name>
<email>vstinner@python.org</email>
</author>
<published>2020-02-07T01:24:48+00:00</published>
<link rel='alternate' type='text/html' href='http://91.123.203.49/cgit/delta/cpython-git.git/commit/?id=a102ed7d2f0e7e05438f14d5fb72ca0358602249'/>
<id>a102ed7d2f0e7e05438f14d5fb72ca0358602249</id>
<content type='text'>
Replace direct access to PyObject.ob_type with Py_TYPE().</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Replace direct access to PyObject.ob_type with Py_TYPE().</pre>
</div>
</content>
</entry>
<entry>
<title>bpo-39028: Performance enhancement in keyword extraction (GH-17576)</title>
<updated>2019-12-18T06:51:22+00:00</updated>
<author>
<name>Sebastian Berg</name>
<email>sebastian@sipsolutions.net</email>
</author>
<published>2019-12-18T06:51:22+00:00</published>
<link rel='alternate' type='text/html' href='http://91.123.203.49/cgit/delta/cpython-git.git/commit/?id=75bb07e92baa7267a61056d03d7e6b475588e793'/>
<id>75bb07e92baa7267a61056d03d7e6b475588e793</id>
<content type='text'>
All keywords should first be checked for pointer identity. Only
after that failed for all keywords (unlikely) should unicode
equality be used.
The original code would call unicode equality on any non-matching
keyword argument. Meaning calling it often e.g. when a function
has many kwargs but only the last one is provided.</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
All keywords should first be checked for pointer identity. Only
after that failed for all keywords (unlikely) should unicode
equality be used.
The original code would call unicode equality on any non-matching
keyword argument. Meaning calling it often e.g. when a function
has many kwargs but only the last one is provided.</pre>
</div>
</content>
</entry>
<entry>
<title>bpo-38540: Fix possible leak in PyArg_Parse for "es#" and "et#". (GH-16869)</title>
<updated>2019-10-21T08:35:07+00:00</updated>
<author>
<name>Serhiy Storchaka</name>
<email>storchaka@gmail.com</email>
</author>
<published>2019-10-21T08:35:07+00:00</published>
<link rel='alternate' type='text/html' href='http://91.123.203.49/cgit/delta/cpython-git.git/commit/?id=5bc6a7c06eda20ba131ecba6752be0506d310181'/>
<id>5bc6a7c06eda20ba131ecba6752be0506d310181</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
</feed>
