<feed xmlns='http://www.w3.org/2005/Atom'>
<title>delta/cpython-git.git/Modules/_collectionsmodule.c, branch v3.8.3</title>
<subtitle>github.com: python/cpython.git
</subtitle>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/cpython-git.git/'/>
<entry>
<title>bpo-39590: make deque.__contains__ and deque.count hold strong references (GH-18421) (GH-18423)</title>
<updated>2020-02-09T08:39:28+00:00</updated>
<author>
<name>Miss Islington (bot)</name>
<email>31488909+miss-islington@users.noreply.github.com</email>
</author>
<published>2020-02-09T08:39:28+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/cpython-git.git/commit/?id=dc56f5f48866bf3c5412642bba00890d9a090cfb'/>
<id>dc56f5f48866bf3c5412642bba00890d9a090cfb</id>
<content type='text'>
(cherry picked from commit c6dedde160a9fce5d049e860f586ad8f93aec822)

Co-authored-by: sweeneyde &lt;36520290+sweeneyde@users.noreply.github.com&gt;

Co-authored-by: sweeneyde &lt;36520290+sweeneyde@users.noreply.github.com&gt;
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
(cherry picked from commit c6dedde160a9fce5d049e860f586ad8f93aec822)

Co-authored-by: sweeneyde &lt;36520290+sweeneyde@users.noreply.github.com&gt;

Co-authored-by: sweeneyde &lt;36520290+sweeneyde@users.noreply.github.com&gt;
</pre>
</div>
</content>
</entry>
<entry>
<title>bpo-37165: Convert _count_elements to the argument clinic (GH-13848)</title>
<updated>2019-06-05T23:20:58+00:00</updated>
<author>
<name>Miss Islington (bot)</name>
<email>31488909+miss-islington@users.noreply.github.com</email>
</author>
<published>2019-06-05T23:20:58+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/cpython-git.git/commit/?id=21ce2454de57caaa532d11d76544632608f4b86b'/>
<id>21ce2454de57caaa532d11d76544632608f4b86b</id>
<content type='text'>
(cherry picked from commit e985804207473796a1326585b3e1b9e18c764345)

Co-authored-by: Raymond Hettinger &lt;rhettinger@users.noreply.github.com&gt;</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
(cherry picked from commit e985804207473796a1326585b3e1b9e18c764345)

Co-authored-by: Raymond Hettinger &lt;rhettinger@users.noreply.github.com&gt;</pre>
</div>
</content>
</entry>
<entry>
<title>bpo-36974: tp_print -&gt; tp_vectorcall_offset and tp_reserved -&gt; tp_as_async (GH-13464)</title>
<updated>2019-05-31T02:13:39+00:00</updated>
<author>
<name>Jeroen Demeyer</name>
<email>J.Demeyer@UGent.be</email>
</author>
<published>2019-05-31T02:13:39+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/cpython-git.git/commit/?id=530f506ac91338b55cf2be71b1cdf50cb077512f'/>
<id>530f506ac91338b55cf2be71b1cdf50cb077512f</id>
<content type='text'>
Automatically replace
tp_print -&gt; tp_vectorcall_offset
tp_compare -&gt; tp_as_async
tp_reserved -&gt; tp_as_async
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Automatically replace
tp_print -&gt; tp_vectorcall_offset
tp_compare -&gt; tp_as_async
tp_reserved -&gt; tp_as_async
</pre>
</div>
</content>
</entry>
<entry>
<title>bpo-36254: Fix invalid uses of %d in format strings in C. (GH-12264)</title>
<updated>2019-03-13T20:59:55+00:00</updated>
<author>
<name>Serhiy Storchaka</name>
<email>storchaka@gmail.com</email>
</author>
<published>2019-03-13T20:59:55+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/cpython-git.git/commit/?id=d53fe5f407ff4b529628b01a1bcbf21a6aad5c3a'/>
<id>d53fe5f407ff4b529628b01a1bcbf21a6aad5c3a</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>Fix the C function signature for _collections._tuplegetter.__reduce__. (GH-12180)</title>
<updated>2019-03-05T16:41:09+00:00</updated>
<author>
<name>Serhiy Storchaka</name>
<email>storchaka@gmail.com</email>
</author>
<published>2019-03-05T16:41:09+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/cpython-git.git/commit/?id=adfffc7343ce7ebc88ec734a803d3247ba8927fb'/>
<id>adfffc7343ce7ebc88ec734a803d3247ba8927fb</id>
<content type='text'>
Correctly fixes bpo-36197.</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Correctly fixes bpo-36197.</pre>
</div>
</content>
</entry>
<entry>
<title>bpo-33012: Fix compilation warnings in memoryobject.c and _collectionsmodule.c (GH-12179)</title>
<updated>2019-03-05T15:10:53+00:00</updated>
<author>
<name>Stéphane Wirtel</name>
<email>stephane@wirtel.be</email>
</author>
<published>2019-03-05T15:10:53+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/cpython-git.git/commit/?id=359a2f3daba49fde0d3a07fb3c7a8b051c450d08'/>
<id>359a2f3daba49fde0d3a07fb3c7a8b051c450d08</id>
<content type='text'>
Cast function pointers to (void(*)(void)) before casting to (PyCFunction)
to make "warning: cast between incompatible function types" false alarm quiet.</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Cast function pointers to (void(*)(void)) before casting to (PyCFunction)
to make "warning: cast between incompatible function types" false alarm quiet.</pre>
</div>
</content>
</entry>
<entry>
<title>bpo-36068: Make _tuplegetter objects serializable (GH-11981)</title>
<updated>2019-02-21T21:00:40+00:00</updated>
<author>
<name>Joe Jevnik</name>
<email>JoeJev@gmail.com</email>
</author>
<published>2019-02-21T21:00:40+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/cpython-git.git/commit/?id=f36f89257b30e0bf88e8aaff6da14a9a96f57b9e'/>
<id>f36f89257b30e0bf88e8aaff6da14a9a96f57b9e</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>Speed-up argument parsing for common cases in deque.__init__()(GH-11717)</title>
<updated>2019-02-01T06:13:43+00:00</updated>
<author>
<name>Raymond Hettinger</name>
<email>rhettinger@users.noreply.github.com</email>
</author>
<published>2019-02-01T06:13:43+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/cpython-git.git/commit/?id=05f1b93f5876ac970485ae008dd9ab3e8404f934'/>
<id>05f1b93f5876ac970485ae008dd9ab3e8404f934</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>bpo-32492: Tweak _collections._tuplegetter. (GH-11367)</title>
<updated>2018-12-31T12:15:16+00:00</updated>
<author>
<name>Serhiy Storchaka</name>
<email>storchaka@gmail.com</email>
</author>
<published>2018-12-31T12:15:16+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/cpython-git.git/commit/?id=052b2dfdc967a8c061ff9561534e905009b88b8c'/>
<id>052b2dfdc967a8c061ff9561534e905009b88b8c</id>
<content type='text'>
* Replace the docstrings cache with sys.intern().
* Improve tests.
* Unify names of tp_descr_get and tp_descr_set functions.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
* Replace the docstrings cache with sys.intern().
* Improve tests.
* Unify names of tp_descr_get and tp_descr_set functions.
</pre>
</div>
</content>
</entry>
<entry>
<title>bpo-32492: 1.6x speed up in namedtuple attribute access using C fast-path (#10495)</title>
<updated>2018-12-30T09:24:03+00:00</updated>
<author>
<name>Pablo Galindo</name>
<email>Pablogsal@gmail.com</email>
</author>
<published>2018-12-30T09:24:03+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/cpython-git.git/commit/?id=3f5fc70c6213008243e7d605f7d8a2d8f94cf919'/>
<id>3f5fc70c6213008243e7d605f7d8a2d8f94cf919</id>
<content type='text'>
* bpo-32492: 2.5x speed up in namedtuple attribute access using C fast path

* Add News entry

* fixup! bpo-32492: 2.5x speed up in namedtuple attribute access using C fast path

* Check for tuple in the __get__ of the new descriptor and don't cache the descriptor itself

* Don't inherit from property. Implement GC methods to handle __doc__

* Add a test for the docstring substitution in descriptors

* Update NEWS entry to reflect time against 3.7 branch

* Simplify implementation with argument clinic, better error messages, only __new__

* Use positional-only parameters for the __new__

* Use PyTuple_GET_SIZE and PyTuple_GET_ITEM to tighter the implementation of tuplegetterdescr_get

* Implement __set__ to make tuplegetter a data descriptor

* Use Py_INCREF now that we inline PyTuple_GetItem

* Apply the valid_index() function, saving one test

* Move Py_None test out of the critical path.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
* bpo-32492: 2.5x speed up in namedtuple attribute access using C fast path

* Add News entry

* fixup! bpo-32492: 2.5x speed up in namedtuple attribute access using C fast path

* Check for tuple in the __get__ of the new descriptor and don't cache the descriptor itself

* Don't inherit from property. Implement GC methods to handle __doc__

* Add a test for the docstring substitution in descriptors

* Update NEWS entry to reflect time against 3.7 branch

* Simplify implementation with argument clinic, better error messages, only __new__

* Use positional-only parameters for the __new__

* Use PyTuple_GET_SIZE and PyTuple_GET_ITEM to tighter the implementation of tuplegetterdescr_get

* Implement __set__ to make tuplegetter a data descriptor

* Use Py_INCREF now that we inline PyTuple_GetItem

* Apply the valid_index() function, saving one test

* Move Py_None test out of the critical path.
</pre>
</div>
</content>
</entry>
</feed>
