<feed xmlns='http://www.w3.org/2005/Atom'>
<title>python.git/Modules/_operator.c, branch 3.8</title>
<subtitle>Unnamed repository; edit this file 'description' to name the repository.</subtitle>
<id>http://dangofactory.net/cgit/cgit.cgi/Server/python.git/atom/Modules/_operator.c?h=3.8</id>
<link rel='self' href='http://dangofactory.net/cgit/cgit.cgi/Server/python.git/atom/Modules/_operator.c?h=3.8'/>
<link rel='alternate' type='text/html' href='http://dangofactory.net/cgit/cgit.cgi/Server/python.git/'/>
<updated>2020-11-21T09:12:21Z</updated>
<entry>
<title>bpo-40791: Make compare_digest more constant-time. (GH-20444)</title>
<updated>2020-11-21T09:12:21Z</updated>
<author>
<name>Miss Islington (bot)</name>
<email>31488909+miss-islington@users.noreply.github.com</email>
</author>
<published>2020-11-21T09:12:21Z</published>
<link rel='alternate' type='text/html' href='http://dangofactory.net/cgit/cgit.cgi/Server/python.git/commit/?id=97136d71a78a4b6b816f7e14acc52be426efcb6f'/>
<id>urn:sha1:97136d71a78a4b6b816f7e14acc52be426efcb6f</id>
<content type='text'>
* bpo-40791: Make compare_digest more constant-time.

The existing volatile `left`/`right` pointers guarantee that the reads will all occur, but does not guarantee that they will be _used_. So a compiler can still short-circuit the loop, saving e.g. the overhead of doing the xors and especially the overhead of the data dependency between `result` and the reads. That would change performance depending on where the first unequal byte occurs. This change removes that optimization.

(This is change GH-1 from https://bugs.python.org/issue40791 .)
(cherry picked from commit 31729366e2bc09632e78f3896dbce0ae64914f28)

Co-authored-by: Devin Jeanpierre &lt;jeanpierreda@google.com&gt;</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:39Z</updated>
<author>
<name>Jeroen Demeyer</name>
<email>J.Demeyer@UGent.be</email>
</author>
<published>2019-05-31T02:13:39Z</published>
<link rel='alternate' type='text/html' href='http://dangofactory.net/cgit/cgit.cgi/Server/python.git/commit/?id=530f506ac91338b55cf2be71b1cdf50cb077512f'/>
<id>urn:sha1: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>
</entry>
<entry>
<title>bpo-35582: Inline arguments tuple unpacking in handwritten code. (GH-11524)</title>
<updated>2019-01-12T06:25:41Z</updated>
<author>
<name>Serhiy Storchaka</name>
<email>storchaka@gmail.com</email>
</author>
<published>2019-01-12T06:25:41Z</published>
<link rel='alternate' type='text/html' href='http://dangofactory.net/cgit/cgit.cgi/Server/python.git/commit/?id=793426687509be24a42663a27e568cc92dcc07f6'/>
<id>urn:sha1:793426687509be24a42663a27e568cc92dcc07f6</id>
<content type='text'>
Inline PyArg_UnpackTuple() and _PyArg_UnpackStack() in performance
sensitive code in the builtins and operator modules.
</content>
</entry>
<entry>
<title>bpo-35664: Optimize operator.itemgetter (GH-11435)</title>
<updated>2019-01-07T16:38:41Z</updated>
<author>
<name>Raymond Hettinger</name>
<email>rhettinger@users.noreply.github.com</email>
</author>
<published>2019-01-07T16:38:41Z</published>
<link rel='alternate' type='text/html' href='http://dangofactory.net/cgit/cgit.cgi/Server/python.git/commit/?id=2d53bed79c1953390f85b191c72855e457e09305'/>
<id>urn:sha1:2d53bed79c1953390f85b191c72855e457e09305</id>
<content type='text'>
</content>
</entry>
<entry>
<title>bpo-35303: Fix a reference leak in _operator.c's methodcaller_repr(). (GH-10689)</title>
<updated>2018-11-23T19:26:46Z</updated>
<author>
<name>Zackery Spytz</name>
<email>zspytz@gmail.com</email>
</author>
<published>2018-11-23T19:26:46Z</published>
<link rel='alternate' type='text/html' href='http://dangofactory.net/cgit/cgit.cgi/Server/python.git/commit/?id=5b83ef71d3060e1651d3680e805f13a1049c7d6d'/>
<id>urn:sha1:5b83ef71d3060e1651d3680e805f13a1049c7d6d</id>
<content type='text'>
</content>
</entry>
<entry>
<title>bpo-33012: Fix invalid function cast warnings with gcc 8 for METH_NOARGS. (GH-6030)</title>
<updated>2018-04-29T18:59:33Z</updated>
<author>
<name>Siddhesh Poyarekar</name>
<email>siddhesh.poyarekar@gmail.com</email>
</author>
<published>2018-04-29T18:59:33Z</published>
<link rel='alternate' type='text/html' href='http://dangofactory.net/cgit/cgit.cgi/Server/python.git/commit/?id=55edd0c185ad2d895b5d73e47d67049bc156b654'/>
<id>urn:sha1:55edd0c185ad2d895b5d73e47d67049bc156b654</id>
<content type='text'>
METH_NOARGS functions need only a single argument but they are cast
into a PyCFunction, which takes two arguments.  This triggers an
invalid function cast warning in gcc8 due to the argument mismatch.
Fix this by adding a dummy unused argument.
</content>
</entry>
<entry>
<title>bpo-30592: Fixed error messages for some builtins. (#1996)</title>
<updated>2017-06-08T11:41:19Z</updated>
<author>
<name>Serhiy Storchaka</name>
<email>storchaka@gmail.com</email>
</author>
<published>2017-06-08T11:41:19Z</published>
<link rel='alternate' type='text/html' href='http://dangofactory.net/cgit/cgit.cgi/Server/python.git/commit/?id=6cca5c8459cc439cb050010ffa762a03859d3051'/>
<id>urn:sha1:6cca5c8459cc439cb050010ffa762a03859d3051</id>
<content type='text'>
Error messages when pass keyword arguments to some builtins that
don't support keyword arguments contained double parenthesis: "()()".
The regression was introduced by bpo-30534.</content>
</entry>
<entry>
<title>Issue #29460: _PyArg_NoKeywords(), _PyArg_NoStackKeywords() and</title>
<updated>2017-02-06T08:41:46Z</updated>
<author>
<name>Serhiy Storchaka</name>
<email>storchaka@gmail.com</email>
</author>
<published>2017-02-06T08:41:46Z</published>
<link rel='alternate' type='text/html' href='http://dangofactory.net/cgit/cgit.cgi/Server/python.git/commit/?id=68a001dd59e2f0c00cb703200e801d0e6be63546'/>
<id>urn:sha1:68a001dd59e2f0c00cb703200e801d0e6be63546</id>
<content type='text'>
_PyArg_NoPositional() now are macros.
</content>
</entry>
<entry>
<title>Issue #20186: Converted the _operator module to Argument Clinic.</title>
<updated>2017-01-19T15:44:13Z</updated>
<author>
<name>Serhiy Storchaka</name>
<email>storchaka@gmail.com</email>
</author>
<published>2017-01-19T15:44:13Z</published>
<link rel='alternate' type='text/html' href='http://dangofactory.net/cgit/cgit.cgi/Server/python.git/commit/?id=b813a0e9488efbcd2836133f075b65484e185f3f'/>
<id>urn:sha1:b813a0e9488efbcd2836133f075b65484e185f3f</id>
<content type='text'>
Patch by Tal Einat.
</content>
</entry>
<entry>
<title>Issue #28959: Added private macro PyDict_GET_SIZE for retrieving the size of dict.</title>
<updated>2016-12-16T14:18:57Z</updated>
<author>
<name>Serhiy Storchaka</name>
<email>storchaka@gmail.com</email>
</author>
<published>2016-12-16T14:18:57Z</published>
<link rel='alternate' type='text/html' href='http://dangofactory.net/cgit/cgit.cgi/Server/python.git/commit/?id=5ab81d787f455ba28367b5b71606cea376283574'/>
<id>urn:sha1:5ab81d787f455ba28367b5b71606cea376283574</id>
<content type='text'>
</content>
</entry>
</feed>
