<feed xmlns='http://www.w3.org/2005/Atom'>
<title>python.git/Lib/test/test_list.py, branch 3.7</title>
<subtitle>Unnamed repository; edit this file 'description' to name the repository.</subtitle>
<id>http://dangofactory.net/cgit/cgit.cgi/Server/python.git/atom/Lib/test/test_list.py?h=3.7</id>
<link rel='self' href='http://dangofactory.net/cgit/cgit.cgi/Server/python.git/atom/Lib/test/test_list.py?h=3.7'/>
<link rel='alternate' type='text/html' href='http://dangofactory.net/cgit/cgit.cgi/Server/python.git/'/>
<updated>2022-10-05T21:55:53Z</updated>
<entry>
<title>[3.7] gh-97616: list_resize() checks for integer overflow (GH-97617) (#97629)</title>
<updated>2022-10-05T21:55:53Z</updated>
<author>
<name>Miss Islington (bot)</name>
<email>31488909+miss-islington@users.noreply.github.com</email>
</author>
<published>2022-10-05T21:55:53Z</published>
<link rel='alternate' type='text/html' href='http://dangofactory.net/cgit/cgit.cgi/Server/python.git/commit/?id=fd82f16c1e4d9a0661e9a2250004032797652e69'/>
<id>urn:sha1:fd82f16c1e4d9a0661e9a2250004032797652e69</id>
<content type='text'>
Fix multiplying a list by an integer (list *= int): detect the
integer overflow when the new allocated length is close to the
maximum size.  Issue reported by Jordan Limor.

list_resize() now checks for integer overflow before multiplying the
new allocated length by the list item size (sizeof(PyObject*)).
(cherry picked from commit a5f092f3c469b674b8d9ccbd4e4377230c9ac7cf)

Co-authored-by: Victor Stinner &lt;vstinner@python.org&gt;</content>
</entry>
<entry>
<title>[3.8] bpo-39453: Fix contains method of list to hold strong references (GH-18204)</title>
<updated>2020-02-17T09:30:44Z</updated>
<author>
<name>Miss Islington (bot)</name>
<email>31488909+miss-islington@users.noreply.github.com</email>
</author>
<published>2020-02-17T09:30:44Z</published>
<link rel='alternate' type='text/html' href='http://dangofactory.net/cgit/cgit.cgi/Server/python.git/commit/?id=3c57ca699910be74e7cf67d747b24bbc486932f1'/>
<id>urn:sha1:3c57ca699910be74e7cf67d747b24bbc486932f1</id>
<content type='text'>
(cherry picked from commit f64abd10563c25a94011f9e3335fd8a1cf47c205)

Co-authored-by: Dong-hee Na &lt;donghee.na92@gmail.com&gt;</content>
</entry>
<entry>
<title>[3.7] bpo-38588: Fix possible crashes in dict and list when calling P… (GH-17765)</title>
<updated>2019-12-31T04:15:10Z</updated>
<author>
<name>Dong-hee Na</name>
<email>donghee.na92@gmail.com</email>
</author>
<published>2019-12-31T04:15:10Z</published>
<link rel='alternate' type='text/html' href='http://dangofactory.net/cgit/cgit.cgi/Server/python.git/commit/?id=53f11ba7b1498133ce3ff8173d5ae2e0182a3603'/>
<id>urn:sha1:53f11ba7b1498133ce3ff8173d5ae2e0182a3603</id>
<content type='text'>
* [3.7] bpo-38588: Fix possible crashes in dict and list when calling PyObject_RichCompareBool (GH-17734)

Take strong references before calling PyObject_RichCompareBool to protect against the case
where the object dies during the call..
(cherry picked from commit 2d5bf568eaa5059402ccce9ba5a366986ba27c8a)

Co-authored-by: Dong-hee Na &lt;donghee.na92@gmail.com&gt;

* methane's suggestion

methane's suggestion

Co-Authored-By: Inada Naoki &lt;songofacandy@gmail.com&gt;

Co-authored-by: Inada Naoki &lt;songofacandy@gmail.com&gt;
</content>
</entry>
<entry>
<title>[3.7] bpo-38610: Fix possible crashes in several list methods (GH-17022) (GH-17759)</title>
<updated>2019-12-30T19:58:31Z</updated>
<author>
<name>Pablo Galindo</name>
<email>Pablogsal@gmail.com</email>
</author>
<published>2019-12-30T19:58:31Z</published>
<link rel='alternate' type='text/html' href='http://dangofactory.net/cgit/cgit.cgi/Server/python.git/commit/?id=296d45ec10fb55532bc3fac2311a3f91299ecf59'/>
<id>urn:sha1:296d45ec10fb55532bc3fac2311a3f91299ecf59</id>
<content type='text'>
Hold strong references to list elements while calling PyObject_RichCompareBool()..
(cherry picked from commit d9e561d23d994e3ed15f4fcbd7ee5c8fe50f190b)

Co-authored-by: Zackery Spytz &lt;zspytz@gmail.com&gt;

Co-authored-by: Zackery Spytz &lt;zspytz@gmail.com&gt;
</content>
</entry>
<entry>
<title>bpo-36946:Fix possible signed integer overflow when handling slices. (GH-15639)</title>
<updated>2019-09-08T10:36:38Z</updated>
<author>
<name>Miss Islington (bot)</name>
<email>31488909+miss-islington@users.noreply.github.com</email>
</author>
<published>2019-09-08T10:36:38Z</published>
<link rel='alternate' type='text/html' href='http://dangofactory.net/cgit/cgit.cgi/Server/python.git/commit/?id=021e5db20bc19d678a5b94247a5cdcf689eff006'/>
<id>urn:sha1: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>
</entry>
<entry>
<title>bpo-29695: Remove bad keyword parameters in int(), bool(), float(), list() and tuple(). (#518)</title>
<updated>2017-03-06T15:01:06Z</updated>
<author>
<name>Serhiy Storchaka</name>
<email>storchaka@gmail.com</email>
</author>
<published>2017-03-06T15:01:06Z</published>
<link rel='alternate' type='text/html' href='http://dangofactory.net/cgit/cgit.cgi/Server/python.git/commit/?id=2e5642422f6234fd8d0c082142b27340e588f96e'/>
<id>urn:sha1:2e5642422f6234fd8d0c082142b27340e588f96e</id>
<content type='text'>
</content>
</entry>
<entry>
<title>bpo-29695: Deprecated using bad named keyword arguments in builtings: (#486)</title>
<updated>2017-03-05T22:53:39Z</updated>
<author>
<name>Serhiy Storchaka</name>
<email>storchaka@gmail.com</email>
</author>
<published>2017-03-05T22:53:39Z</published>
<link rel='alternate' type='text/html' href='http://dangofactory.net/cgit/cgit.cgi/Server/python.git/commit/?id=58d23e68068996c76cac78887ec67dee68cdbc72'/>
<id>urn:sha1:58d23e68068996c76cac78887ec67dee68cdbc72</id>
<content type='text'>
int(), bool(), float(), list() and tuple().  Specify the value as a
positional argument instead.</content>
</entry>
<entry>
<title>Remove unused support.run_unittest imports.</title>
<updated>2016-04-24T20:42:49Z</updated>
<author>
<name>Serhiy Storchaka</name>
<email>storchaka@gmail.com</email>
</author>
<published>2016-04-24T20:42:49Z</published>
<link rel='alternate' type='text/html' href='http://dangofactory.net/cgit/cgit.cgi/Server/python.git/commit/?id=e4fbb0206d0794b58d096beafd9964340ea26640'/>
<id>urn:sha1:e4fbb0206d0794b58d096beafd9964340ea26640</id>
<content type='text'>
It is not needed since tests use unittest.main().
</content>
</entry>
<entry>
<title>Issue #26015: Added new tests for pickling iterators of mutable sequences.</title>
<updated>2016-03-06T12:10:24Z</updated>
<author>
<name>Serhiy Storchaka</name>
<email>storchaka@gmail.com</email>
</author>
<published>2016-03-06T12:10:24Z</published>
<link rel='alternate' type='text/html' href='http://dangofactory.net/cgit/cgit.cgi/Server/python.git/commit/?id=aabafe7bc293b377629ff97c3e955956eaf6350a'/>
<id>urn:sha1:aabafe7bc293b377629ff97c3e955956eaf6350a</id>
<content type='text'>
</content>
</entry>
<entry>
<title>Issue #25795: Fix several tests to run independently.</title>
<updated>2015-12-05T05:32:23Z</updated>
<author>
<name>Zachary Ware</name>
<email>zachary.ware@gmail.com</email>
</author>
<published>2015-12-05T05:32:23Z</published>
<link rel='alternate' type='text/html' href='http://dangofactory.net/cgit/cgit.cgi/Server/python.git/commit/?id=ac28b796d80f869f39662491446145106960a886'/>
<id>urn:sha1:ac28b796d80f869f39662491446145106960a886</id>
<content type='text'>
These were broken in 3aec776fc796 when they were converted
away from using support.run_unittest().  Oops :)

Initial patch by Felippe da Motta Raposo.
</content>
</entry>
</feed>
