Skip to content

Commit 2fe016f

Browse files
committed
Merge remote-tracking branch 'upstream/3.10' into 3.10
2 parents 1b7996c + 386babe commit 2fe016f

File tree

5 files changed

+8
-6
lines changed

5 files changed

+8
-6
lines changed

Doc/library/array.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -52,7 +52,7 @@ Notes:
5252

5353
.. versionchanged:: 3.9
5454
``array('u')`` now uses ``wchar_t`` as C type instead of deprecated
55-
``Py_UNICODE``. This change doesn't affect to its behavior because
55+
``Py_UNICODE``. This change doesn't affect its behavior because
5656
``Py_UNICODE`` is alias of ``wchar_t`` since Python 3.3.
5757

5858
.. deprecated-removed:: 3.3 4.0

Doc/library/os.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2307,7 +2307,7 @@ features:
23072307
:exc:`IsADirectoryError` or a :exc:`NotADirectoryError` will be raised
23082308
respectively. If both are directories and *dst* is empty, *dst* will be
23092309
silently replaced. If *dst* is a non-empty directory, an :exc:`OSError`
2310-
is raised. If both are files, *dst* it will be replaced silently if the user
2310+
is raised. If both are files, *dst* will be replaced silently if the user
23112311
has permission. The operation may fail on some Unix flavors if *src* and
23122312
*dst* are on different filesystems. If successful, the renaming will be an
23132313
atomic operation (this is a POSIX requirement).

Doc/library/secrets.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -129,7 +129,7 @@ Other functions
129129
.. function:: compare_digest(a, b)
130130

131131
Return ``True`` if strings *a* and *b* are equal, otherwise ``False``,
132-
in such a way as to reduce the risk of
132+
using a "constant-time compare" to reduce the risk of
133133
`timing attacks <https://codahale.com/a-lesson-in-timing-attacks/>`_.
134134
See :func:`hmac.compare_digest` for additional details.
135135

Doc/requirements.txt

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -3,12 +3,12 @@
33
# Sphinx version is pinned so that new versions that introduce new warnings
44
# won't suddenly cause build failures. Updating the version is fine as long
55
# as no warnings are raised by doing so.
6-
sphinx==3.2.1
6+
sphinx==3.4.3
77
# Docutils version is pinned to a version compatible with Sphinx
8-
# version 3.2.1. It can be removed after bumping Sphinx version to at
8+
# version <3.5.4. It can be removed after bumping Sphinx version to at
99
# least 3.5.4.
1010
docutils==0.17.1
11-
# Jinja version is pinned to a version compatible with Sphinx version 3.2.1.
11+
# Jinja version is pinned to a version compatible with Sphinx version <4.5.
1212
jinja2==3.0.3
1313

1414
blurb

Doc/whatsnew/3.8.rst

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2005,6 +2005,8 @@ Changes in the Python API
20052005
``replace()`` method of :class:`types.CodeType` can be used to make the code
20062006
future-proof.
20072007

2008+
* The parameter ``digestmod`` for :func:`hmac.new` no longer uses the MD5 digest
2009+
by default.
20082010

20092011
Changes in the C API
20102012
--------------------

0 commit comments

Comments
 (0)