<feed xmlns='http://www.w3.org/2005/Atom'>
<title>python.git/Doc/reference, 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/Doc/reference?h=3.8</id>
<link rel='self' href='http://dangofactory.net/cgit/cgit.cgi/Server/python.git/atom/Doc/reference?h=3.8'/>
<link rel='alternate' type='text/html' href='http://dangofactory.net/cgit/cgit.cgi/Server/python.git/'/>
<updated>2023-07-05T11:19:01Z</updated>
<entry>
<title>[3.8] [3.11] Add single value `agen.athrow(value)` signature to the 3.11 docs gh-105269  (GH-105468) (#105478)</title>
<updated>2023-07-05T11:19:01Z</updated>
<author>
<name>Miss Islington (bot)</name>
<email>31488909+miss-islington@users.noreply.github.com</email>
</author>
<published>2023-07-05T11:19:01Z</published>
<link rel='alternate' type='text/html' href='http://dangofactory.net/cgit/cgit.cgi/Server/python.git/commit/?id=db42de40002cf769903ae055f24f57c1cb2a9540'/>
<id>urn:sha1:db42de40002cf769903ae055f24f57c1cb2a9540</id>
<content type='text'>
(cherry picked from commit acf3916e84158308660ed07c474a564e045d6884)

Co-authored-by: Federico Caselli &lt;CaselIT@users.noreply.github.com&gt;</content>
</entry>
<entry>
<title>bpo-45583: Correct datamodel documentation of int() (GH-29182) (GH-29287)</title>
<updated>2021-10-28T20:02:07Z</updated>
<author>
<name>Miss Islington (bot)</name>
<email>31488909+miss-islington@users.noreply.github.com</email>
</author>
<published>2021-10-28T20:02:07Z</published>
<link rel='alternate' type='text/html' href='http://dangofactory.net/cgit/cgit.cgi/Server/python.git/commit/?id=76658e5bdbdf57464f4b43f1625c02c2ba4222dd'/>
<id>urn:sha1:76658e5bdbdf57464f4b43f1625c02c2ba4222dd</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.
(cherry picked from commit d9c1868c25ec6466e8d8ae21fe9315a8a03836ab)

Co-authored-by: Arthur Milchior &lt;arthur@milchior.fr&gt;</content>
</entry>
<entry>
<title>bpo-45104: Clarify when __init__ is called (GH-28210) (GH-28213)</title>
<updated>2021-09-07T16:21:23Z</updated>
<author>
<name>Miss Islington (bot)</name>
<email>31488909+miss-islington@users.noreply.github.com</email>
</author>
<published>2021-09-07T16:21:23Z</published>
<link rel='alternate' type='text/html' href='http://dangofactory.net/cgit/cgit.cgi/Server/python.git/commit/?id=5a42a49477cd601d67d81483f9589258dccb14b1'/>
<id>urn:sha1:5a42a49477cd601d67d81483f9589258dccb14b1</id>
<content type='text'>
(cherry picked from commit fa15df77f02ba4a66ba0b71989381a426038be01)

Co-authored-by: Raymond Hettinger &lt;rhettinger@users.noreply.github.com&gt;</content>
</entry>
<entry>
<title>bpo-42800: Add audit events for f_code and tb_frame (GH-24182)</title>
<updated>2021-05-03T13:24:05Z</updated>
<author>
<name>Miss Islington (bot)</name>
<email>31488909+miss-islington@users.noreply.github.com</email>
</author>
<published>2021-05-03T13:24:05Z</published>
<link rel='alternate' type='text/html' href='http://dangofactory.net/cgit/cgit.cgi/Server/python.git/commit/?id=8ab272f0f3dd7da44f8e21d2a5a39c2ab39490d6'/>
<id>urn:sha1:8ab272f0f3dd7da44f8e21d2a5a39c2ab39490d6</id>
<content type='text'>
Accessing the following attributes will now fire PEP 578 style audit hooks as (object.__getattr__, obj, name):
* PyTracebackObject: tb_frame
* PyFrameObject: f_code
* PyGenObject: gi_code, gi_frame
* PyCoroObject: cr_code, cr_frame
* PyAsyncGenObject: ag_code, ag_frame
(cherry picked from commit bb2f3ff7a8f0c3565ccc1946dba7e09a3f7dc209)

Co-authored-by: Steve Dower &lt;steve.dower@python.org&gt;</content>
</entry>
<entry>
<title>Fix a typo in datamodel reference document (GH-24930)</title>
<updated>2021-04-25T21:22:36Z</updated>
<author>
<name>Miss Islington (bot)</name>
<email>31488909+miss-islington@users.noreply.github.com</email>
</author>
<published>2021-04-25T21:22:36Z</published>
<link rel='alternate' type='text/html' href='http://dangofactory.net/cgit/cgit.cgi/Server/python.git/commit/?id=c3b63a5caa1ae2bbfa9733f997b991ec1e0af63f'/>
<id>urn:sha1:c3b63a5caa1ae2bbfa9733f997b991ec1e0af63f</id>
<content type='text'>
(cherry picked from commit a1a5e3c4c83c3e3fe24c96ae22dfdedc7e23a1bb)

Co-authored-by: Géry Ogam &lt;gery.ogam@gmail.com&gt;</content>
</entry>
<entry>
<title>Fix description of behaviour of an exception class in 'from' clause (GH-24303) (GH-25342)</title>
<updated>2021-04-11T08:53:16Z</updated>
<author>
<name>Miss Islington (bot)</name>
<email>31488909+miss-islington@users.noreply.github.com</email>
</author>
<published>2021-04-11T08:53:16Z</published>
<link rel='alternate' type='text/html' href='http://dangofactory.net/cgit/cgit.cgi/Server/python.git/commit/?id=328d66c0715341f17343281c7b3d3032684e3c0a'/>
<id>urn:sha1:328d66c0715341f17343281c7b3d3032684e3c0a</id>
<content type='text'>
(cherry picked from commit 79650d0118b0a8861428b9dd063089de405cf137)

Co-authored-by: Mark Dickinson &lt;mdickinson@enthought.com&gt;

Co-authored-by: Mark Dickinson &lt;mdickinson@enthought.com&gt;</content>
</entry>
<entry>
<title>[3.8] bpo-36540: Improve doc of function definition regarding positional-only arguments (GH-25235) (GH-25260)</title>
<updated>2021-04-07T19:32:24Z</updated>
<author>
<name>Saiyang Gou</name>
<email>gousaiyang@163.com</email>
</author>
<published>2021-04-07T19:32:24Z</published>
<link rel='alternate' type='text/html' href='http://dangofactory.net/cgit/cgit.cgi/Server/python.git/commit/?id=4554ab435727a0f3b6441c9c1a8d3fe6534433c7'/>
<id>urn:sha1:4554ab435727a0f3b6441c9c1a8d3fe6534433c7</id>
<content type='text'>
(cherry picked from commit 58d72cab89cf9652acc0bf0007aa20b2bcc98499)

Co-authored-by: Saiyang Gou &lt;gousaiyang@163.com&gt;</content>
</entry>
<entry>
<title>bpo-27646: Say that 'yield from' expression can be any iterable (GH-24595)</title>
<updated>2021-02-21T02:42:24Z</updated>
<author>
<name>Miss Islington (bot)</name>
<email>31488909+miss-islington@users.noreply.github.com</email>
</author>
<published>2021-02-21T02:42:24Z</published>
<link rel='alternate' type='text/html' href='http://dangofactory.net/cgit/cgit.cgi/Server/python.git/commit/?id=089a21f7429a3fd3cf78e3779df724757d346d19'/>
<id>urn:sha1:089a21f7429a3fd3cf78e3779df724757d346d19</id>
<content type='text'>
Previously, the doc at least strongly implied that it had to be an iterator.
(cherry picked from commit 2f9ef514fb24b6a95bd3272885f197752810c107)

Co-authored-by: Terry Jan Reedy &lt;tjreedy@udel.edu&gt;</content>
</entry>
<entry>
<title>[3.8] [doc] Fix a few margins due to bad markup (GH-23619). (GH-23860)</title>
<updated>2020-12-22T02:55:19Z</updated>
<author>
<name>Andre Delfino</name>
<email>adelfino@gmail.com</email>
</author>
<published>2020-12-22T02:55:19Z</published>
<link rel='alternate' type='text/html' href='http://dangofactory.net/cgit/cgit.cgi/Server/python.git/commit/?id=d3ab4c82a9b594d3cd98062eece19672fe42bce2'/>
<id>urn:sha1:d3ab4c82a9b594d3cd98062eece19672fe42bce2</id>
<content type='text'>
(cherry picked from commit 96a09df64483b70c4215c7025a19b9d2f1636c55)

Co-authored-by: Andre Delfino &lt;adelfino@gmail.com&gt;</content>
</entry>
<entry>
<title>bpo-42669: Document that `except` rejects nested tuples (GH-23822) (GH-23871)</title>
<updated>2020-12-20T21:18:40Z</updated>
<author>
<name>Miss Islington (bot)</name>
<email>31488909+miss-islington@users.noreply.github.com</email>
</author>
<published>2020-12-20T21:18:40Z</published>
<link rel='alternate' type='text/html' href='http://dangofactory.net/cgit/cgit.cgi/Server/python.git/commit/?id=81f706d2db0f57c4fdd747df6e0a4cffcbc54704'/>
<id>urn:sha1:81f706d2db0f57c4fdd747df6e0a4cffcbc54704</id>
<content type='text'>
In Python 2, it was possible to use `except` with a nested tuple, and occasionally natural.  For example, `zope.formlib.interfaces.InputErrors` is a tuple of several exception classes, and one might reasonably think to do something like this:

    try:
        self.getInputValue()
        return True
    except (InputErrors, SomethingElse):
        return False

As of Python 3.0, this raises `TypeError: catching classes that do not inherit from BaseException is not allowed` instead: one must instead either break it up into multiple `except` clauses or flatten the tuple.  However, the reference documentation was never updated to match this new restriction.  Make it clear that the definition is no longer recursive.

Automerge-Triggered-By: GH:ericvsmith
(cherry picked from commit c95f8bc2700b42f4568886505a819816c9b0ba28)

Co-authored-by: Colin Watson &lt;cjwatson@debian.org&gt;

Co-authored-by: Colin Watson &lt;cjwatson@debian.org&gt;</content>
</entry>
</feed>
