<feed xmlns='http://www.w3.org/2005/Atom'>
<title>delta/cpython-git.git/Objects/listobject.c, 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>bpo-36946:Fix possible signed integer overflow when handling slices. (GH-15639)</title>
<updated>2019-09-08T10:36:38+00:00</updated>
<author>
<name>Miss Islington (bot)</name>
<email>31488909+miss-islington@users.noreply.github.com</email>
</author>
<published>2019-09-08T10:36:38+00:00</published>
<link rel='alternate' type='text/html' href='http://91.123.203.49/cgit/delta/cpython-git.git/commit/?id=021e5db20bc19d678a5b94247a5cdcf689eff006'/>
<id>021e5db20bc19d678a5b94247a5cdcf689eff006</id>
<content type='text'>
This is a complement to PR 13375.
(cherry picked from commit 3c87a667bb367ace1de6bd1577fdb4f66947da52)

Co-authored-by: HongWeipeng &lt;hongweichen8888@sina.com&gt;</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
This is a complement to PR 13375.
(cherry picked from commit 3c87a667bb367ace1de6bd1577fdb4f66947da52)

Co-authored-by: HongWeipeng &lt;hongweichen8888@sina.com&gt;</pre>
</div>
</content>
</entry>
<entry>
<title>bpo-35091: Objects/listobject.c: Replace overflow checks in gallop fu… (GH-10202)</title>
<updated>2019-05-23T00:18:55+00:00</updated>
<author>
<name>Miss Islington (bot)</name>
<email>31488909+miss-islington@users.noreply.github.com</email>
</author>
<published>2019-05-23T00:18:55+00:00</published>
<link rel='alternate' type='text/html' href='http://91.123.203.49/cgit/delta/cpython-git.git/commit/?id=367fe5757a707c4e3602dee807a9315199ed0b5c'/>
<id>367fe5757a707c4e3602dee807a9315199ed0b5c</id>
<content type='text'>
…nctions with asserts

The actual overflow can never happen because of the following:
* The size of a list can't be greater than PY_SSIZE_T_MAX / sizeof(PyObject*).
* The size of a pointer on all supported plaftorms is at least 4 bytes.
* ofs is positive and less than the list size at the beginning of each iteration.

https://bugs.python.org/issue35091
(cherry picked from commit 6bc5917903b722bdd0e5d3020949f26fec5dfe9a)

Co-authored-by: Alexey Izbyshev &lt;izbyshev@ispras.ru&gt;</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
…nctions with asserts

The actual overflow can never happen because of the following:
* The size of a list can't be greater than PY_SSIZE_T_MAX / sizeof(PyObject*).
* The size of a pointer on all supported plaftorms is at least 4 bytes.
* ofs is positive and less than the list size at the beginning of each iteration.

https://bugs.python.org/issue35091
(cherry picked from commit 6bc5917903b722bdd0e5d3020949f26fec5dfe9a)

Co-authored-by: Alexey Izbyshev &lt;izbyshev@ispras.ru&gt;</pre>
</div>
</content>
</entry>
<entry>
<title>bpo-36218: Fix handling of heterogeneous values in list.sort (GH-12209) GH-12532)</title>
<updated>2019-03-25T07:47:55+00:00</updated>
<author>
<name>Miss Islington (bot)</name>
<email>31488909+miss-islington@users.noreply.github.com</email>
</author>
<published>2019-03-25T07:47:55+00:00</published>
<link rel='alternate' type='text/html' href='http://91.123.203.49/cgit/delta/cpython-git.git/commit/?id=9dbb09fc27b99d2c08b8f56db71018eb828cc7cd'/>
<id>9dbb09fc27b99d2c08b8f56db71018eb828cc7cd</id>
<content type='text'>
(cherry picked from commit dd5417afcf8924bcdd7077351941ad21727ef644)

Co-authored-by: Rémi Lapeyre &lt;remi.lapeyre@henki.fr&gt;</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
(cherry picked from commit dd5417afcf8924bcdd7077351941ad21727ef644)

Co-authored-by: Rémi Lapeyre &lt;remi.lapeyre@henki.fr&gt;</pre>
</div>
</content>
</entry>
<entry>
<title>bpo-33989: Ensure that ms.key_compare is always initialized in list_sort_impl(). (GH-8710)</title>
<updated>2019-02-21T08:05:22+00:00</updated>
<author>
<name>Miss Islington (bot)</name>
<email>31488909+miss-islington@users.noreply.github.com</email>
</author>
<published>2019-02-21T08:05:22+00:00</published>
<link rel='alternate' type='text/html' href='http://91.123.203.49/cgit/delta/cpython-git.git/commit/?id=0e73ea26a55abc0ce2ee1153e5509bcaef4736cf'/>
<id>0e73ea26a55abc0ce2ee1153e5509bcaef4736cf</id>
<content type='text'>
(cherry picked from commit ebc793d6acb9650b9f497808e059805892031d74)

Co-authored-by: Zackery Spytz &lt;zspytz@gmail.com&gt;</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
(cherry picked from commit ebc793d6acb9650b9f497808e059805892031d74)

Co-authored-by: Zackery Spytz &lt;zspytz@gmail.com&gt;</pre>
</div>
</content>
</entry>
<entry>
<title>closes bpo-35623: Fix integer overflow when sorting large lists (GH-11380)</title>
<updated>2019-01-02T02:25:23+00:00</updated>
<author>
<name>Miss Islington (bot)</name>
<email>31488909+miss-islington@users.noreply.github.com</email>
</author>
<published>2019-01-02T02:25:23+00:00</published>
<link rel='alternate' type='text/html' href='http://91.123.203.49/cgit/delta/cpython-git.git/commit/?id=a5955b0895aa011b0beff1ceb6539b2ff8888425'/>
<id>a5955b0895aa011b0beff1ceb6539b2ff8888425</id>
<content type='text'>
There is already a `Py_ssize_t i` defined at function scope that is used
for similar loops. By removing the local `int i` declaration that `i` is
used, which has the appropriate type.
(cherry picked from commit f8b534477a2a51d85ea1663530f685f805f2b247)

Co-authored-by: sth &lt;sth.dev@tejp.de&gt;</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
There is already a `Py_ssize_t i` defined at function scope that is used
for similar loops. By removing the local `int i` declaration that `i` is
used, which has the appropriate type.
(cherry picked from commit f8b534477a2a51d85ea1663530f685f805f2b247)

Co-authored-by: sth &lt;sth.dev@tejp.de&gt;</pre>
</div>
</content>
</entry>
<entry>
<title>closes bpo-32898: Fix debug build crash with COUNT_ALLOCS (GH-5800)</title>
<updated>2018-02-22T05:44:08+00:00</updated>
<author>
<name>Miss Islington (bot)</name>
<email>31488909+miss-islington@users.noreply.github.com</email>
</author>
<published>2018-02-22T05:44:08+00:00</published>
<link rel='alternate' type='text/html' href='http://91.123.203.49/cgit/delta/cpython-git.git/commit/?id=bc2e1104693fd471b96ecac5b2ab4cffa09830ab'/>
<id>bc2e1104693fd471b96ecac5b2ab4cffa09830ab</id>
<content type='text'>
(cherry picked from commit 745dc65b17b3936e3f9f4099f735f174d30c4e0c)

Co-authored-by: Eddie Elizondo &lt;eduardo.elizondorueda@gmail.com&gt;</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
(cherry picked from commit 745dc65b17b3936e3f9f4099f735f174d30c4e0c)

Co-authored-by: Eddie Elizondo &lt;eduardo.elizondorueda@gmail.com&gt;</pre>
</div>
</content>
</entry>
<entry>
<title>bpo-28685: Fix compiler warning (GH-5423)</title>
<updated>2018-01-29T12:47:06+00:00</updated>
<author>
<name>Victor Stinner</name>
<email>victor.stinner@gmail.com</email>
</author>
<published>2018-01-29T12:47:06+00:00</published>
<link rel='alternate' type='text/html' href='http://91.123.203.49/cgit/delta/cpython-git.git/commit/?id=8017b804a06804793bcc0a7f734d8a846b0fe18a'/>
<id>8017b804a06804793bcc0a7f734d8a846b0fe18a</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>bpo-28685: Optimize sorted() list.sort() with type-specialized comparisons (#582)</title>
<updated>2018-01-29T03:03:23+00:00</updated>
<author>
<name>embg</name>
<email>elliot.gorokhovsky@gmail.com</email>
</author>
<published>2018-01-29T03:03:23+00:00</published>
<link rel='alternate' type='text/html' href='http://91.123.203.49/cgit/delta/cpython-git.git/commit/?id=1e34da49ef22004ca25c517b3f07c6d25f083ece'/>
<id>1e34da49ef22004ca25c517b3f07c6d25f083ece</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>bpo-32137: The repr of deeply nested dict now raises a RecursionError (#4570)</title>
<updated>2017-12-03T20:12:11+00:00</updated>
<author>
<name>Serhiy Storchaka</name>
<email>storchaka@gmail.com</email>
</author>
<published>2017-12-03T20:12:11+00:00</published>
<link rel='alternate' type='text/html' href='http://91.123.203.49/cgit/delta/cpython-git.git/commit/?id=1fb72d2ad243c965d4432b4e93884064001a2607'/>
<id>1fb72d2ad243c965d4432b4e93884064001a2607</id>
<content type='text'>
instead of crashing due to a stack overflow.

This perhaps will fix similar problems in other extension types.</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
instead of crashing due to a stack overflow.

This perhaps will fix similar problems in other extension types.</pre>
</div>
</content>
</entry>
<entry>
<title>bpo-32030: Add more options to _PyCoreConfig (#4485)</title>
<updated>2017-11-21T02:12:22+00:00</updated>
<author>
<name>Victor Stinner</name>
<email>victor.stinner@gmail.com</email>
</author>
<published>2017-11-21T02:12:22+00:00</published>
<link rel='alternate' type='text/html' href='http://91.123.203.49/cgit/delta/cpython-git.git/commit/?id=25420fe290b98171e6d30edf9350292c21ef700e'/>
<id>25420fe290b98171e6d30edf9350292c21ef700e</id>
<content type='text'>
Py_Main() now handles two more -X options:

* -X showrefcount: new _PyCoreConfig.show_ref_count field
* -X showalloccount: new _PyCoreConfig.show_alloc_count field</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Py_Main() now handles two more -X options:

* -X showrefcount: new _PyCoreConfig.show_ref_count field
* -X showalloccount: new _PyCoreConfig.show_alloc_count field</pre>
</div>
</content>
</entry>
</feed>
