<feed xmlns='http://www.w3.org/2005/Atom'>
<title>delta/cpython-git.git/Objects/longobject.c, branch backport-76b5d71-3.9</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-37986: Improve perfomance of PyLong_FromDouble() (GH-15611)</title>
<updated>2020-05-10T09:15:57+00:00</updated>
<author>
<name>Sergey Fedoseev</name>
<email>fedoseev.sergey@gmail.com</email>
</author>
<published>2020-05-10T09:15:57+00:00</published>
<link rel='alternate' type='text/html' href='http://91.123.203.49/cgit/delta/cpython-git.git/commit/?id=86a93fddf72a2711aca99afa0c5374c8d6b4a321'/>
<id>86a93fddf72a2711aca99afa0c5374c8d6b4a321</id>
<content type='text'>
* bpo-37986: Improve perfomance of PyLong_FromDouble()

* Use strict bound check for safety and symmetry

* Remove possibly outdated performance claims

Co-authored-by: Mark Dickinson &lt;dickinsm@gmail.com&gt;</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
* bpo-37986: Improve perfomance of PyLong_FromDouble()

* Use strict bound check for safety and symmetry

* Remove possibly outdated performance claims

Co-authored-by: Mark Dickinson &lt;dickinsm@gmail.com&gt;</pre>
</div>
</content>
</entry>
<entry>
<title>bpo-40455: Remove gcc10 warning about x_digits (#19852)</title>
<updated>2020-05-04T13:32:42+00:00</updated>
<author>
<name>Dong-hee Na</name>
<email>donghee.na92@gmail.com</email>
</author>
<published>2020-05-04T13:32:42+00:00</published>
<link rel='alternate' type='text/html' href='http://91.123.203.49/cgit/delta/cpython-git.git/commit/?id=b88cd585d36d6285a5aeb0b6fdb70c134062181e'/>
<id>b88cd585d36d6285a5aeb0b6fdb70c134062181e</id>
<content type='text'>
* bpo-40455: Remove gcc10 warning about x_digits

* bpo-40455: nit

* bpo-40455: fix logic error</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
* bpo-40455: Remove gcc10 warning about x_digits

* bpo-40455: nit

* bpo-40455: fix logic error</pre>
</div>
</content>
</entry>
<entry>
<title>bpo-40268: Include explicitly pycore_interp.h (GH-19505)</title>
<updated>2020-04-14T12:26:24+00:00</updated>
<author>
<name>Victor Stinner</name>
<email>vstinner@python.org</email>
</author>
<published>2020-04-14T12:26:24+00:00</published>
<link rel='alternate' type='text/html' href='http://91.123.203.49/cgit/delta/cpython-git.git/commit/?id=4a3fe0835310643193ea45529ab0fb45c5f8f2fd'/>
<id>4a3fe0835310643193ea45529ab0fb45c5f8f2fd</id>
<content type='text'>
pycore_pystate.h no longer includes pycore_interp.h:
it's now included explicitly in files accessing PyInterpreterState.</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
pycore_pystate.h no longer includes pycore_interp.h:
it's now included explicitly in files accessing PyInterpreterState.</pre>
</div>
</content>
</entry>
<entry>
<title>bpo-39943: Add the const qualifier to pointers on non-mutable PyBytes data. (GH-19472)</title>
<updated>2020-04-12T11:58:27+00:00</updated>
<author>
<name>Serhiy Storchaka</name>
<email>storchaka@gmail.com</email>
</author>
<published>2020-04-12T11:58:27+00:00</published>
<link rel='alternate' type='text/html' href='http://91.123.203.49/cgit/delta/cpython-git.git/commit/?id=8f87eefe7f0576c05c488874eb9601a7a87c7312'/>
<id>8f87eefe7f0576c05c488874eb9601a7a87c7312</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>bpo-39245: Switch to public API for Vectorcall (GH-18460)</title>
<updated>2020-02-11T16:46:57+00:00</updated>
<author>
<name>Petr Viktorin</name>
<email>encukou@gmail.com</email>
</author>
<published>2020-02-11T16:46:57+00:00</published>
<link rel='alternate' type='text/html' href='http://91.123.203.49/cgit/delta/cpython-git.git/commit/?id=ffd9753a944916ced659b2c77aebe66a6c9fbab5'/>
<id>ffd9753a944916ced659b2c77aebe66a6c9fbab5</id>
<content type='text'>
The bulk of this patch was generated automatically with:

    for name in \
        PyObject_Vectorcall \
        Py_TPFLAGS_HAVE_VECTORCALL \
        PyObject_VectorcallMethod \
        PyVectorcall_Function \
        PyObject_CallOneArg \
        PyObject_CallMethodNoArgs \
        PyObject_CallMethodOneArg \
    ;
    do
        echo $name
        git grep -lwz _$name | xargs -0 sed -i "s/\b_$name\b/$name/g"
    done

    old=_PyObject_FastCallDict
    new=PyObject_VectorcallDict
    git grep -lwz $old | xargs -0 sed -i "s/\b$old\b/$new/g"

and then cleaned up:

- Revert changes to in docs &amp; news
- Revert changes to backcompat defines in headers
- Nudge misaligned comments
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
The bulk of this patch was generated automatically with:

    for name in \
        PyObject_Vectorcall \
        Py_TPFLAGS_HAVE_VECTORCALL \
        PyObject_VectorcallMethod \
        PyVectorcall_Function \
        PyObject_CallOneArg \
        PyObject_CallMethodNoArgs \
        PyObject_CallMethodOneArg \
    ;
    do
        echo $name
        git grep -lwz _$name | xargs -0 sed -i "s/\b_$name\b/$name/g"
    done

    old=_PyObject_FastCallDict
    new=PyObject_VectorcallDict
    git grep -lwz $old | xargs -0 sed -i "s/\b$old\b/$new/g"

and then cleaned up:

- Revert changes to in docs &amp; news
- Revert changes to backcompat defines in headers
- Nudge misaligned comments
</pre>
</div>
</content>
</entry>
<entry>
<title>bpo-39573: Use Py_SET_SIZE() function (GH-18402)</title>
<updated>2020-02-07T22:18:08+00:00</updated>
<author>
<name>Victor Stinner</name>
<email>vstinner@python.org</email>
</author>
<published>2020-02-07T22:18:08+00:00</published>
<link rel='alternate' type='text/html' href='http://91.123.203.49/cgit/delta/cpython-git.git/commit/?id=60ac6ed5579f6666130fc264d3b748ee9575e3aa'/>
<id>60ac6ed5579f6666130fc264d3b748ee9575e3aa</id>
<content type='text'>
Replace direct acccess to PyVarObject.ob_size with usage of
the Py_SET_SIZE() function.</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Replace direct acccess to PyVarObject.ob_size with usage of
the Py_SET_SIZE() function.</pre>
</div>
</content>
</entry>
<entry>
<title>bpo-39573: Use Py_TYPE() macro in Objects directory (GH-18392)</title>
<updated>2020-02-07T02:04:21+00:00</updated>
<author>
<name>Victor Stinner</name>
<email>vstinner@python.org</email>
</author>
<published>2020-02-07T02:04:21+00:00</published>
<link rel='alternate' type='text/html' href='http://91.123.203.49/cgit/delta/cpython-git.git/commit/?id=58ac700fb09497df14d4492b6f820109490b2b88'/>
<id>58ac700fb09497df14d4492b6f820109490b2b88</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-39489: Remove COUNT_ALLOCS special build (GH-18259)</title>
<updated>2020-02-03T14:17:15+00:00</updated>
<author>
<name>Victor Stinner</name>
<email>vstinner@python.org</email>
</author>
<published>2020-02-03T14:17:15+00:00</published>
<link rel='alternate' type='text/html' href='http://91.123.203.49/cgit/delta/cpython-git.git/commit/?id=c6e5c1123bac6cbb4c85265155af5349dcea522e'/>
<id>c6e5c1123bac6cbb4c85265155af5349dcea522e</id>
<content type='text'>
Remove:

* COUNT_ALLOCS macro
* sys.getcounts() function
* SHOW_ALLOC_COUNT code in listobject.c
* SHOW_TRACK_COUNT code in tupleobject.c
* PyConfig.show_alloc_count field
* -X showalloccount command line option
* @test.support.requires_type_collecting decorator</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Remove:

* COUNT_ALLOCS macro
* sys.getcounts() function
* SHOW_ALLOC_COUNT code in listobject.c
* SHOW_TRACK_COUNT code in tupleobject.c
* PyConfig.show_alloc_count field
* -X showalloccount command line option
* @test.support.requires_type_collecting decorator</pre>
</div>
</content>
</entry>
<entry>
<title>closes bpo-39415: Remove unused codes from longobject.c complexobject.c floatobject.c. (GH-18105)</title>
<updated>2020-01-22T02:49:30+00:00</updated>
<author>
<name>Dong-hee Na</name>
<email>donghee.na92@gmail.com</email>
</author>
<published>2020-01-22T02:49:30+00:00</published>
<link rel='alternate' type='text/html' href='http://91.123.203.49/cgit/delta/cpython-git.git/commit/?id=0d5eac8c327251f8edde5261cee43975d81311f6'/>
<id>0d5eac8c327251f8edde5261cee43975d81311f6</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>bpo-31031: Unify duplicate bits_in_digit and bit_length (GH-2866)</title>
<updated>2020-01-16T14:09:19+00:00</updated>
<author>
<name>Niklas Fiekas</name>
<email>niklas.fiekas@backscattering.de</email>
</author>
<published>2020-01-16T14:09:19+00:00</published>
<link rel='alternate' type='text/html' href='http://91.123.203.49/cgit/delta/cpython-git.git/commit/?id=c5b79003f5fe6aa28a2a028680367839ba8677db'/>
<id>c5b79003f5fe6aa28a2a028680367839ba8677db</id>
<content type='text'>
Add _Py_bit_length() to unify duplicate bits_in_digit() and bit_length().</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Add _Py_bit_length() to unify duplicate bits_in_digit() and bit_length().</pre>
</div>
</content>
</entry>
</feed>
