<feed xmlns='http://www.w3.org/2005/Atom'>
<title>delta/cpython-git.git/Modules/_operator.c, branch v3.7.13</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-40791: Make compare_digest more constant-time. (GH-23438)</title>
<updated>2020-11-22T17:33:09+00:00</updated>
<author>
<name>Miss Islington (bot)</name>
<email>31488909+miss-islington@users.noreply.github.com</email>
</author>
<published>2020-11-22T17:33:09+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/cpython-git.git/commit/?id=db95802bdfac4d13db3e2a391ec7b9e2f8d92dbe'/>
<id>db95802bdfac4d13db3e2a391ec7b9e2f8d92dbe</id>
<content type='text'>
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>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
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;</pre>
</div>
</content>
</entry>
<entry>
<title>bpo-35303: Fix a reference leak in _operator.c's methodcaller_repr(). (GH-10689)</title>
<updated>2018-11-23T19:58:08+00:00</updated>
<author>
<name>Miss Islington (bot)</name>
<email>31488909+miss-islington@users.noreply.github.com</email>
</author>
<published>2018-11-23T19:58:08+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/cpython-git.git/commit/?id=bc665b42ba3a372bc60451583bfaff41d8e1993d'/>
<id>bc665b42ba3a372bc60451583bfaff41d8e1993d</id>
<content type='text'>
(cherry picked from commit 5b83ef71d3060e1651d3680e805f13a1049c7d6d)

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 5b83ef71d3060e1651d3680e805f13a1049c7d6d)

Co-authored-by: Zackery Spytz &lt;zspytz@gmail.com&gt;</pre>
</div>
</content>
</entry>
<entry>
<title>bpo-30592: Fixed error messages for some builtins. (#1996)</title>
<updated>2017-06-08T11:41:19+00:00</updated>
<author>
<name>Serhiy Storchaka</name>
<email>storchaka@gmail.com</email>
</author>
<published>2017-06-08T11:41:19+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/cpython-git.git/commit/?id=6cca5c8459cc439cb050010ffa762a03859d3051'/>
<id>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>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
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.</pre>
</div>
</content>
</entry>
<entry>
<title>Issue #29460: _PyArg_NoKeywords(), _PyArg_NoStackKeywords() and</title>
<updated>2017-02-06T08:41:46+00:00</updated>
<author>
<name>Serhiy Storchaka</name>
<email>storchaka@gmail.com</email>
</author>
<published>2017-02-06T08:41:46+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/cpython-git.git/commit/?id=68a001dd59e2f0c00cb703200e801d0e6be63546'/>
<id>68a001dd59e2f0c00cb703200e801d0e6be63546</id>
<content type='text'>
_PyArg_NoPositional() now are macros.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
_PyArg_NoPositional() now are macros.
</pre>
</div>
</content>
</entry>
<entry>
<title>Issue #20186: Converted the _operator module to Argument Clinic.</title>
<updated>2017-01-19T15:44:13+00:00</updated>
<author>
<name>Serhiy Storchaka</name>
<email>storchaka@gmail.com</email>
</author>
<published>2017-01-19T15:44:13+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/cpython-git.git/commit/?id=b813a0e9488efbcd2836133f075b65484e185f3f'/>
<id>b813a0e9488efbcd2836133f075b65484e185f3f</id>
<content type='text'>
Patch by Tal Einat.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Patch by Tal Einat.
</pre>
</div>
</content>
</entry>
<entry>
<title>Issue #28959: Added private macro PyDict_GET_SIZE for retrieving the size of dict.</title>
<updated>2016-12-16T14:18:57+00:00</updated>
<author>
<name>Serhiy Storchaka</name>
<email>storchaka@gmail.com</email>
</author>
<published>2016-12-16T14:18:57+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/cpython-git.git/commit/?id=5ab81d787f455ba28367b5b71606cea376283574'/>
<id>5ab81d787f455ba28367b5b71606cea376283574</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>Issue #27809: methodcaller_reduce() uses fast call</title>
<updated>2016-08-22T22:23:23+00:00</updated>
<author>
<name>Victor Stinner</name>
<email>victor.stinner@gmail.com</email>
</author>
<published>2016-08-22T22:23:23+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/cpython-git.git/commit/?id=7e7823a03785925573b732be30e97f8585272f18'/>
<id>7e7823a03785925573b732be30e97f8585272f18</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>merge 3.4 (#27783)</title>
<updated>2016-08-17T06:37:33+00:00</updated>
<author>
<name>Benjamin Peterson</name>
<email>benjamin@python.org</email>
</author>
<published>2016-08-17T06:37:33+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/cpython-git.git/commit/?id=6423429325f4f2309892f530417bc9737268be38'/>
<id>6423429325f4f2309892f530417bc9737268be38</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>merge 3.3 (#27783)</title>
<updated>2016-08-17T06:36:20+00:00</updated>
<author>
<name>Benjamin Peterson</name>
<email>benjamin@python.org</email>
</author>
<published>2016-08-17T06:36:20+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/cpython-git.git/commit/?id=a12d92bec1858a76f2c5519bce07c8a00a891207'/>
<id>a12d92bec1858a76f2c5519bce07c8a00a891207</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>Issue #26822: Decreased an overhead of using _PyArg_NoKeywords() in calls of</title>
<updated>2016-04-29T06:10:55+00:00</updated>
<author>
<name>Serhiy Storchaka</name>
<email>storchaka@gmail.com</email>
</author>
<published>2016-04-29T06:10:55+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/cpython-git.git/commit/?id=6dfcde5e29876beb59e26929e222a514aa002cdd'/>
<id>6dfcde5e29876beb59e26929e222a514aa002cdd</id>
<content type='text'>
itemgetter, attrgetter and methodcaller objects.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
itemgetter, attrgetter and methodcaller objects.
</pre>
</div>
</content>
</entry>
</feed>
