2020-12-05 17:56:36 +01:00
|
|
|
---
|
2021-04-28 18:57:12 +02:00
|
|
|
Doc/tools/extensions/pyspecific.py | 7 ++++++-
|
|
|
|
1 file changed, 6 insertions(+), 1 deletion(-)
|
2020-12-05 17:56:36 +01:00
|
|
|
|
|
|
|
--- a/Doc/tools/extensions/pyspecific.py
|
|
|
|
+++ b/Doc/tools/extensions/pyspecific.py
|
- Update to 3.9.14:
- (CVE-2020-10735, bsc#1203125). Converting between int
and str in bases other than 2 (binary), 4, 8 (octal), 16
(hexadecimal), or 32 such as base 10 (decimal) now raises a
ValueError if the number of digits in string form is above a
limit to avoid potential denial of service attacks due to the
algorithmic complexity.
This new limit can be configured or disabled by environment
variable, command line flag, or sys APIs. See the integer
string conversion length limitation documentation. The
default limit is 4300 digits in string form.
- Also other bug fixes:
- http.server: Fix an open redirection vulnerability in the
HTTP server when an URI path starts with //. Vulnerability
discovered, and initial fix proposed, by Hamza Avvan.
- Fix contextvars HAMT implementation to handle iteration
over deep trees. The bug was discovered and fixed by Eli
Libman. See MagicStack/immutables#84 for more details.
- Fix binding of unix socket to empty address on Linux to use
an available address from the abstract namespace, instead
of “0”.
- Suppress writing an XML declaration in open files
in ElementTree.write() with encoding='unicode' and
xml_declaration=None.
- Fix the formatting for await x and not x in the operator
precedence table when using the help() system.
- Fix ensurepip environment isolation for subprocess running
pip.
- Fix problem with test_ssl test_get_ciphers on systems that
require perfect forward secrecy (PFS) ciphers.
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python:Factory/python39?expand=0&rev=116
2022-09-11 10:54:55 +02:00
|
|
|
@@ -385,7 +385,12 @@ class DeprecatedRemoved(Directive):
|
2020-12-05 17:56:36 +01:00
|
|
|
translatable=False)
|
|
|
|
node.append(para)
|
|
|
|
env = self.state.document.settings.env
|
2020-12-05 18:02:48 +01:00
|
|
|
- env.get_domain('changeset').note_changeset(node)
|
2020-12-05 17:56:36 +01:00
|
|
|
+ # deprecated pre-Sphinx-2 method
|
2020-12-12 15:31:49 +01:00
|
|
|
+ if hasattr(env, 'note_versionchange'):
|
2020-12-05 17:56:36 +01:00
|
|
|
+ env.note_versionchange('deprecated', version[0], node, self.lineno)
|
2020-12-12 15:31:49 +01:00
|
|
|
+ # new method
|
|
|
|
+ else:
|
|
|
|
+ env.get_domain('changeset').note_changeset(node)
|
2020-12-05 17:56:36 +01:00
|
|
|
return [node] + messages
|
|
|
|
|
|
|
|
|