8000 Python 3.7.16 · python/cpython@3f82aa7 · GitHub
[go: up one dir, main page]

Skip to content

Commit 3f82aa7

Browse files
committed
Python 3.7.16
1 parent b5bdf6a commit 3f82aa7

9 files changed

+61
-23
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 7
21-
#define PY_MICRO_VERSION 15
21+
#define PY_MICRO_VERSION 16
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.7.15+"
26+
#define PY_VERSION "3.7.16"
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: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
# -*- coding: utf-8 -*-
2-
# Autogenerated by Sphinx on Mon Oct 10 05:27:13 2022
2+
# Autogenerated by Sphinx on Tue Dec 6 13:59:35 2022
33
topics = {'assert': 'The "assert" statement\n'
44
'**********************\n'
55
'\n'

Misc/NEWS.d/3.7.16.rst

Lines changed: 56 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,56 @@
1+
.. date: 2022-12-05-01-39-10
2+
.. gh-issue: 100001
3+
.. nonce: uD05Fc
4+
.. release date: 2022-12-06
5+
.. section: Security
6+
7+
``python -m http.server`` no longer allows terminal control characters sent
8+
within a garbage request to be printed to the stderr server log.
9+
10+
This is done by changing the :mod:`http.server`
11+
:class:`BaseHTTPRequestHandler` ``.log_message`` method to replace control
12+
characters with a ``\xHH`` hex escape before printing.
13+
14+
..
15+
16+
.. date: 2022-11-04-09-29-36
17+
.. gh-issue: 98433
18+
.. nonce: l76c5G
19+
.. section: Security
20+
21+
The IDNA codec decoder used on DNS hostnames by :mod:`socket` or
22+
:mod:`asyncio` related name resolution functions no longer involves a
23+
quadratic algorithm. This prevents a potential CPU denial of service if an
24+
out-of-spec excessive length hostname involving bidirectional characters
25+
were decoded. Some protocols such as :mod:`urllib` http ``3xx`` redirects
26+
potentially allow for an attacker to supply such a name.
27+
28+
..
29+
30+
.. date: 2022-10-26-21-04-23
31+
.. gh-issue: 98739
32+
.. nonce: keBWcY
33+
.. section: Security
34+
35+
Update bundled libexpat to 2.5.0
36+
37+
..
38+
39+
.. date: 2022-10-21-13-31-47
40+
.. gh-issue: 98517
41+
.. nonce: SXXGfV
42+
.. section: Security
43+
44+
Port XKCP's fix for the buffer overflows in SHA-3 (CVE-2022-37454).
45+
46+
..
47+
48+
.. date: 2022-04-27-18-25-30
49+
.. gh-issue: 68966
50+
.. nonce: gjS8zs
51+
.. section: Security
52+
53+
The deprecated mailcap module now refuses to inject unsafe text (filenames,
54+
MIME types, parameters) into shell commands. Instead of using such text, it
55+
will warn and act as if a match was not found (or for test commands, as if
56+
the test failed).

Misc/NEWS.d/next/Security/2022-04-27-18-25-30.gh-issue-68966.gjS8zs.rst

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

Misc/NEWS.d/next/Security/2022-10-21-13-31-47.gh-issue-98517.SXXGfV.rst

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

Misc/NEWS.d/next/Security/2022-10-26-21-04-23.gh-issue-98739.keBWcY.rst

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

Misc/NEWS.d/next/Security/2022-11-04-09-29-36.gh-issue-98433.l76c5G.rst

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

Misc/NEWS.d/next/Security/2022-12-05-01-39-10.gh-issue-100001.uD05Fc.rst

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

README.rst

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
1-
This is Python version 3.7.15+
2-
==============================
1+
This is Python version 3.7.16
2+
=============================
33

44
.. image:: https://travis-ci.org/python/cpython.svg?branch=3.7
55
:alt: CPython build status on Travis CI

0 commit comments

Comments
 (0)
0