Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit 9d38120

Browse files
committed
Python 3.10.4
1 parent 4298114 commit 9d38120

15 files changed

+158
-67
lines changed

Include/patchlevel.h

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -18,12 +18,12 @@
1818
/*--start constants--*/
1919
#define PY_MAJOR_VERSION 3
2020
#define PY_MINOR_VERSION 10
21-
#define PY_MICRO_VERSION 3
21+
#define PY_MICRO_VERSION 4
2222
#define PY_RELEASE_LEVEL PY_RELEASE_LEVEL_FINAL
2323
#define PY_RELEASE_SERIAL 0
2424

2525
/* Version as a string */
26-
#define PY_VERSION "3.10.3+"
26+
#define PY_VERSION "3.10.4"
2727
/*--end constants--*/
2828

2929
/* Version as a single 4-byte hex number, e.g. 0x010502B2 == 1.5.2b2.

Lib/pydoc_data/topics.py

Lines changed: 41 additions & 37 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
# -*- coding: utf-8 -*-
2-
# Autogenerated by Sphinx on Wed Mar 16 11:26:55 2022
2+
# Autogenerated by Sphinx on Wed Mar 23 20:11:40 2022
33
topics = {'assert': 'The "assert" statement\n'
44
'**********************\n'
55
'\n'
@@ -2418,11 +2418,11 @@
24182418
'resulting\n'
24192419
'object is “compatible” with the exception. An object is '
24202420
'compatible\n'
2421-
'with an exception if it is the class or a base class of the '
2422-
'exception\n'
2423-
'object, or a tuple containing an item that is the class or a '
2421+
'with an exception if the object is the class or a *non-virtual '
24242422
'base\n'
2425-
'class of the exception object.\n'
2423+
'class* of the exception object, or a tuple containing an item '
2424+
'that is\n'
2425+
'the class or a non-virtual base class of the exception object.\n'
24262426
'\n'
24272427
'If no except clause matches the exception, the search for an '
24282428
'exception\n'
@@ -4399,15 +4399,17 @@
43994399
'on members\n'
44004400
' of hashed collections including "set", "frozenset", and '
44014401
'"dict".\n'
4402-
' "__hash__()" should return an integer. The only required '
4403-
'property\n'
4404-
' is that objects which compare equal have the same hash '
4405-
'value; it is\n'
4406-
' advised to mix together the hash values of the '
4407-
'components of the\n'
4408-
' object that also play a part in comparison of objects by '
4409-
'packing\n'
4410-
' them into a tuple and hashing the tuple. Example:\n'
4402+
' The "__hash__()" method should return an integer. The '
4403+
'only required\n'
4404+
' property is that objects which compare equal have the '
4405+
'same hash\n'
4406+
' value; it is advised to mix together the hash values of '
4407+
'the\n'
4408+
' components of the object that also play a part in '
4409+
'comparison of\n'
4410+
' objects by packing them into a tuple and hashing the '
4411+
'tuple.\n'
4412+
' Example:\n'
44114413
'\n'
44124414
' def __hash__(self):\n'
44134415
' return hash((self.name, self.nick, self.color))\n'
@@ -5391,11 +5393,11 @@
53915393
'clause is\n'
53925394
'selected depending on the class of the instance: it must '
53935395
'reference the\n'
5394-
'class of the instance or a base class thereof. The instance '
5395-
'can be\n'
5396-
'received by the handler and can carry additional information '
5397-
'about the\n'
5398-
'exceptional condition.\n'
5396+
'class of the instance or a *non-virtual base class* thereof. '
5397+
'The\n'
5398+
'instance can be received by the handler and can carry '
5399+
'additional\n'
5400+
'information about the exceptional condition.\n'
53995401
'\n'
54005402
'Note:\n'
54015403
'\n'
@@ -5730,11 +5732,11 @@
57305732
'clause is\n'
57315733
'selected depending on the class of the instance: it must '
57325734
'reference the\n'
5733-
'class of the instance or a base class thereof. The instance '
5734-
'can be\n'
5735-
'received by the handler and can carry additional information '
5736-
'about the\n'
5737-
'exceptional condition.\n'
5735+
'class of the instance or a *non-virtual base class* thereof. '
5736+
'The\n'
5737+
'instance can be received by the handler and can carry '
5738+
'additional\n'
5739+
'information about the exceptional condition.\n'
57385740
'\n'
57395741
'Note:\n'
57405742
'\n'
@@ -9303,15 +9305,17 @@
93039305
'on members\n'
93049306
' of hashed collections including "set", "frozenset", and '
93059307
'"dict".\n'
9306-
' "__hash__()" should return an integer. The only required '
9307-
'property\n'
9308-
' is that objects which compare equal have the same hash '
9309-
'value; it is\n'
9310-
' advised to mix together the hash values of the components '
9311-
'of the\n'
9312-
' object that also play a part in comparison of objects by '
9313-
'packing\n'
9314-
' them into a tuple and hashing the tuple. Example:\n'
9308+
' The "__hash__()" method should return an integer. The '
9309+
'only required\n'
9310+
' property is that objects which compare equal have the '
9311+
'same hash\n'
9312+
' value; it is advised to mix together the hash values of '
9313+
'the\n'
9314+
' components of the object that also play a part in '
9315+
'comparison of\n'
9316+
' objects by packing them into a tuple and hashing the '
9317+
'tuple.\n'
9318+
' Example:\n'
93159319
'\n'
93169320
' def __hash__(self):\n'
93179321
' return hash((self.name, self.nick, self.color))\n'
@@ -12428,10 +12432,10 @@
1242812432
'exception. For an except clause with an expression, that expression\n'
1242912433
'is evaluated, and the clause matches the exception if the resulting\n'
1243012434
'object is “compatible” with the exception. An object is compatible\n'
12431-
'with an exception if it is the class or a base class of the '
12432-
'exception\n'
12433-
'object, or a tuple containing an item that is the class or a base\n'
12434-
'class of the exception object.\n'
12435+
'with an exception if the object is the class or a *non-virtual base\n'
12436+
'class* of the exception object, or a tuple containing an item that '
12437+
'is\n'
12438+
'the class or a non-virtual base class of the exception object.\n'
1243512439
'\n'
1243612440
'If no except clause matches the exception, the search for an '
1243712441
'exception\n'

Misc/NEWS.d/3.10.4.rst

Lines changed: 114 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,114 @@
1+
.. bpo: 46968
2+
.. date: 2022-03-17-14-22-23
3+
.. nonce: 4gz4NA
4+
.. release date: 2022-03-23
5+
.. section: Core and Builtins
6+
7+
Check for the existence of the "sys/auxv.h" header in :mod:`faulthandler` to
8+
avoid compilation problems in systems where this header doesn't exist. Patch
9+
by Pablo Galindo
10+
11+
..
12+
13+
.. bpo: 23691
14+
.. date: 2022-03-20-22-13-24
15+
.. nonce: Nc2TrW
16+
.. section: Library
17+
18+
Protect the :func:`re.finditer` iterator from re-entering.
19+
20+
..
21+
22+
.. bpo: 42369
23+
.. date: 2022-03-19-19-56-04
24+
.. nonce: Ok828t
25+
.. section: Library
26+
27+
Fix thread safety of :meth:`zipfile._SharedFile.tell` to avoid a
28+
"zipfile.BadZipFile: Bad CRC-32 for file" exception when reading a
29+
:class:`ZipFile` from multiple threads.
30+
31+
..
32+
33+
.. bpo: 38256
34+
.. date: 2022-03-19-15-54-41
35+
.. nonce: FoMbjE
36+
.. section: Library
37+
38+
Fix :func:`binascii.crc32` when it is compiled to use zlib'c crc32 to work
39+
properly on inputs 4+GiB in length instead of returning the wrong result.
40+
The workaround prior to this was to always feed the function data in
41+
increments smaller than 4GiB or to just call the zlib module function.
42+
43+
..
44+
45+
.. bpo: 39394
46+
.. date: 2022-03-19-13-38-29
47+
.. nonce: 7j6WL6
48+
.. section: Library
49+
50+
A warning about inline flags not at the start of the regular expression now
51+
contains the position of the flag.
52+
53+
..
54+
55+
.. bpo: 47061
56+
.. date: 2022-03-18-13-30-40
57+
.. nonce: etLHK5
58+
.. section: Library
59+
60+
Deprecate the various modules listed by :pep:`594`:
61+
62+
aifc, asynchat, asyncore, audioop, cgi, cgitb, chunk, crypt, imghdr, msilib,
63+
nntplib, nis, ossaudiodev, pipes, smtpd, sndhdr, spwd, sunau, telnetlib, uu,
64+
xdrlib
65+
66+
..
67+
68+
.. bpo: 2604
69+
.. date: 2022-03-16-18-25-19
70+
.. nonce: jeopdL
71+
.. section: Library
72+
73+
Fix bug where doctests using globals would fail when run multiple times.
74+
75+
..
76+
77+
.. bpo: 45997
78+
.. date: 2022-03-15-18-32-12
79+
.. nonce: 4n2aVU
80+
.. section: Library
81+
82+
Fix :class:`asyncio.Semaphore` re-aquiring FIFO order.
83+
84+
..
85+
86+
.. bpo: 47022
87+
.. date: 2022-03-15-09-29-52
88+
.. nonce: uaEDcI
89+
.. section: Library
90+
91+
The :mod:`asynchat`, :mod:`asyncore` and :mod:`smtpd` modules have been
92+
deprecated since at least Python 3.6. Their documentation and deprecation
93+
warnings and have now been updated to note they will removed in Python 3.12
94+
(:pep:`594`).
95+
96+
..
97+
98+
.. bpo: 46421
99+
.. date: 2022-01-18-01-29-38
100+
.. nonce: 9LdmNr
101+
.. section: Library
102+
103+
Fix a unittest issue where if the command was invoked as ``python -m
104+
unittest`` and the filename(s) began with a dot (.), a ``ValueError`` is
105+
returned.
106+
107+
..
108+
109+
.. bpo: 40296
110+
.. date: 2021-12-25-14-13-14
111+
.. nonce: p0YVGB
112+
.. section: Library
113+
114+
Fix supporting generic aliases in :mod:`pydoc`.

Misc/NEWS.d/next/Core and Builtins/2022-03-17-14-22-23.bpo-46968.4gz4NA.rst

Lines changed: 0 additions & 3 deletions
This file was deleted.

Misc/NEWS.d/next/Library/2021-12-25-14-13-14.bpo-40296.p0YVGB.rst

Lines changed: 0 additions & 1 deletion
This file was deleted.

Misc/NEWS.d/next/Library/2022-01-18-01-29-38.bpo-46421.9LdmNr.rst

Lines changed: 0 additions & 3 deletions
This file was deleted.

Misc/NEWS.d/next/Library/2022-03-15-09-29-52.bpo-47022.uaEDcI.rst

Lines changed: 0 additions & 4 deletions
This file was deleted.

Misc/NEWS.d/next/Library/2022-03-15-18-32-12.bpo-45997.4n2aVU.rst

Lines changed: 0 additions & 1 deletion
This file was deleted.

Misc/NEWS.d/next/Library/2022-03-16-18-25-19.bpo-2604.jeopdL.rst

Lines changed: 0 additions & 1 deletion
This file was deleted.

Misc/NEWS.d/next/Library/2022-03-18-13-30-40.bpo-47061.etLHK5.rst

Lines changed: 0 additions & 5 deletions
This file was deleted.

Misc/NEWS.d/next/Library/2022-03-19-13-38-29.bpo-39394.7j6WL6.rst

Lines changed: 0 additions & 2 deletions
This file was deleted.

Misc/NEWS.d/next/Library/2022-03-19-15-54-41.bpo-38256.FoMbjE.rst

Lines changed: 0 additions & 5 deletions
This file was deleted.

Misc/NEWS.d/next/Library/2022-03-19-19-56-04.bpo-42369.Ok828t.rst

Lines changed: 0 additions & 1 deletion
This file was deleted.

Misc/NEWS.d/next/Library/2022-03-20-22-13-24.bpo-23691.Nc2TrW.rst

Lines changed: 0 additions & 1 deletion
This file was deleted.

README.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
This is Python version 3.10.3
1+
This is Python version 3.10.4
22
=============================
33

44
.. image:: https://travis-ci.com/python/cpython.svg?branch=master

0 commit comments

Comments
 (0)