<feed xmlns='http://www.w3.org/2005/Atom'>
<title>delta/cpython-git.git/Doc/reference, branch orphaned-comment</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-20751:  Replace method example with attribute example, matching the descriptor howto (GH-29909)</title>
<updated>2021-12-04T02:37:08+00:00</updated>
<author>
<name>Raymond Hettinger</name>
<email>rhettinger@users.noreply.github.com</email>
</author>
<published>2021-12-04T02:37:08+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/cpython-git.git/commit/?id=135ecc3492cee259090fd4aaed9056c130cd2eba'/>
<id>135ecc3492cee259090fd4aaed9056c130cd2eba</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>bpo-45711: Change exc_info related APIs to derive type and traceback from the exception instance (GH-29780)</title>
<updated>2021-11-30T22:37:04+00:00</updated>
<author>
<name>Irit Katriel</name>
<email>1055913+iritkatriel@users.noreply.github.com</email>
</author>
<published>2021-11-30T22:37:04+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/cpython-git.git/commit/?id=8a45ca542a65ea27e7acaa44a4c833a27830e796'/>
<id>8a45ca542a65ea27e7acaa44a4c833a27830e796</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>bpo-45619: documentation of execution model: clarify and update binding summary (#29232)</title>
<updated>2021-11-26T05:19:06+00:00</updated>
<author>
<name>Arthur Milchior</name>
<email>arthur@milchior.fr</email>
</author>
<published>2021-11-26T05:19:06+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/cpython-git.git/commit/?id=cd876c84932ecc2f7a6c41f3fc800a34d5b06b95'/>
<id>cd876c84932ecc2f7a6c41f3fc800a34d5b06b95</id>
<content type='text'>
This does two changes that are quite related.

0. it add that variable binding can occur in pattern matching, an update of 3.10
which seems to have been omitted from the list of bindings
1. Given how long the sentence already was, with even subcases in the middle of
the sentence, the commit breaks the sentence into an actual list.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
This does two changes that are quite related.

0. it add that variable binding can occur in pattern matching, an update of 3.10
which seems to have been omitted from the list of bindings
1. Given how long the sentence already was, with even subcases in the middle of
the sentence, the commit breaks the sentence into an actual list.
</pre>
</div>
</content>
</entry>
<entry>
<title>[doc] Clarify MRO precedence in descriptor super binding section (GH-29539)</title>
<updated>2021-11-20T16:55:35+00:00</updated>
<author>
<name>Jouke Witteveen</name>
<email>j.witteveen@gmail.com</email>
</author>
<published>2021-11-20T16:55:35+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/cpython-git.git/commit/?id=ee49484c0f0d0d79e8fc40835da10b78f89ae503'/>
<id>ee49484c0f0d0d79e8fc40835da10b78f89ae503</id>
<content type='text'>
A similar sentence is present in the 'Invocation from super' section of
the descriptor HOWTO, where it is already correct.</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
A similar sentence is present in the 'Invocation from super' section of
the descriptor HOWTO, where it is already correct.</pre>
</div>
</content>
</entry>
<entry>
<title>bpo-45250: fix docs regarding `__iter__` and iterators being inconsistently required by CPython (GH-29170)</title>
<updated>2021-11-20T00:40:34+00:00</updated>
<author>
<name>Brett Cannon</name>
<email>brett@python.org</email>
</author>
<published>2021-11-20T00:40:34+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/cpython-git.git/commit/?id=be36e0634060c7d5dee8e8876fb888bbb53d992a'/>
<id>be36e0634060c7d5dee8e8876fb888bbb53d992a</id>
<content type='text'>
It is now considered a historical accident that e.g. `for` loops and the `iter()` built-in function do not require the iterators they work with to define `__iter__`, only `__next__`.</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
It is now considered a historical accident that e.g. `for` loops and the `iter()` built-in function do not require the iterators they work with to define `__iter__`, only `__next__`.</pre>
</div>
</content>
</entry>
<entry>
<title>bpo-45640: [docs] Tokens are now clickable (GH-29260)</title>
<updated>2021-11-18T16:06:38+00:00</updated>
<author>
<name>Arthur Milchior</name>
<email>arthur@milchior.fr</email>
</author>
<published>2021-11-18T16:06:38+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/cpython-git.git/commit/?id=32959108f9c543e3cb9f2b68bbc782bddded6f42'/>
<id>32959108f9c543e3cb9f2b68bbc782bddded6f42</id>
<content type='text'>
Co-authored-by: Łukasz Langa &lt;lukasz@langa.pl&gt;</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Co-authored-by: Łukasz Langa &lt;lukasz@langa.pl&gt;</pre>
</div>
</content>
</entry>
<entry>
<title>[doc] bpo-45680: Disambiguate ``__getitem__`` and ``__class_getitem__`` in the  data model (GH-29389)</title>
<updated>2021-11-18T15:54:25+00:00</updated>
<author>
<name>Alex Waygood</name>
<email>Alex.Waygood@Gmail.com</email>
</author>
<published>2021-11-18T15:54:25+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/cpython-git.git/commit/?id=31b3a70edb1216bdc8fab3b2eafd8ddb00487f41'/>
<id>31b3a70edb1216bdc8fab3b2eafd8ddb00487f41</id>
<content type='text'>
The documentation explaining Python's data model does not adequately explain
the differences between ``__getitem__`` and ``__class_getitem__``, nor does it
explain when each is called. There is an attempt at explaining
``__class_getitem__`` in the documentation for ``GenericAlias`` objects, but
this does not give sufficient clarity into how the method works. Moreover, it
is the wrong place for that information to be found; the explanation of
``__class_getitem__`` should be in the documentation explaining the data model.

This PR has been split off from GH-29335.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
The documentation explaining Python's data model does not adequately explain
the differences between ``__getitem__`` and ``__class_getitem__``, nor does it
explain when each is called. There is an attempt at explaining
``__class_getitem__`` in the documentation for ``GenericAlias`` objects, but
this does not give sufficient clarity into how the method works. Moreover, it
is the wrong place for that information to be found; the explanation of
``__class_getitem__`` should be in the documentation explaining the data model.

This PR has been split off from GH-29335.
</pre>
</div>
</content>
</entry>
<entry>
<title>[doc] minor fixes to expressions.rst (GH-29444)</title>
<updated>2021-11-06T17:26:43+00:00</updated>
<author>
<name>Ethan Furman</name>
<email>ethan@stoneleaf.us</email>
</author>
<published>2021-11-06T17:26:43+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/cpython-git.git/commit/?id=6ecead106ad886f423abf4f547a1a54d14e32305'/>
<id>6ecead106ad886f423abf4f547a1a54d14e32305</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>bpo-45583: Correct datamodel documentation of int() (GH-29182)</title>
<updated>2021-10-28T19:48:37+00:00</updated>
<author>
<name>Arthur Milchior</name>
<email>arthur@milchior.fr</email>
</author>
<published>2021-10-28T19:48:37+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/cpython-git.git/commit/?id=d9c1868c25ec6466e8d8ae21fe9315a8a03836ab'/>
<id>d9c1868c25ec6466e8d8ae21fe9315a8a03836ab</id>
<content type='text'>
It should be noted that this part of the documentation is redundant with
function.rst's documentation of int. This one was correctly updated with Python 3.8.</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
It should be noted that this part of the documentation is redundant with
function.rst's documentation of int. This one was correctly updated with Python 3.8.</pre>
</div>
</content>
</entry>
<entry>
<title>bpo-45530: speed listobject.c's unsafe_tuple_compare() (GH-29076)</title>
<updated>2021-10-25T03:27:24+00:00</updated>
<author>
<name>Tim Peters</name>
<email>tim.peters@gmail.com</email>
</author>
<published>2021-10-25T03:27:24+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/cpython-git.git/commit/?id=51ed2c56a1852cd6b09c85ba81312dc9782772ce'/>
<id>51ed2c56a1852cd6b09c85ba81312dc9782772ce</id>
<content type='text'>
Keep track of whether unsafe_tuple_compare() calls are resolved by the very
first tuple elements, and adjust strategy accordingly. This can significantly
cut the number of calls made to the full-blown PyObject_RichCompareBool(),
and especially when duplicates are rare.

Co-authored-by: Łukasz Langa &lt;lukasz@langa.pl&gt;</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Keep track of whether unsafe_tuple_compare() calls are resolved by the very
first tuple elements, and adjust strategy accordingly. This can significantly
cut the number of calls made to the full-blown PyObject_RichCompareBool(),
and especially when duplicates are rare.

Co-authored-by: Łukasz Langa &lt;lukasz@langa.pl&gt;</pre>
</div>
</content>
</entry>
</feed>
