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

Skip to content

Commit 4e6719f

Browse files
committed
Release version 2.7.18.6
1 parent 31171bf commit 4e6719f

12 files changed

Lines changed: 54 additions & 6 deletions

File tree

Doc/library/mailcap.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -53,7 +53,7 @@ standard. However, mailcap files are supported on most Unix systems.
5353
external condition (such as the machine architecture, or the window system in
5454
use) to determine whether or not the mailcap line applies. :func:`findmatch`
5555
will automatically check such conditions and skip the entry if the check fails.
56-
56+
5757
.. versionchanged:: 2.7.18.6
5858

5959
To prevent security issues with shell metacharacters (symbols that have

Doc/library/stdtypes.rst

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,7 @@
1+
..
2+
Copyright (C) 2022 ActiveState Software Inc.
3+
stdtypes.rst is licensed under the PSFLv2 License.
4+
See the file LICENSE for details.
15
.. XXX: reference/datamodel and this have quite a few overlaps!
26
37

Doc/whatsnew/2.7.rst

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,8 @@
1+
..
2+
Copyright (C) 2022 ActiveState Software Inc.
3+
2.7.rst is licensed under the PSFLv2 License.
4+
See the file LICENSE for details.
5+
16
****************************
27
What's New in Python 2.7
38
****************************

Include/longobject.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -153,7 +153,7 @@ PyAPI_FUNC(PyObject *) _PyLong_FormatAdvanced(PyObject *obj,
153153
# error "_PY_LONG_DEFAULT_MAX_STR_DIGITS smaller than threshold."
154154
#endif
155155

156-
int Py_LongMaxStrDigits;
156+
extern int Py_LongMaxStrDigits;
157157

158158
#ifdef __cplusplus
159159
}

Include/patchlevel.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,7 @@
2727
#define PY_RELEASE_SERIAL 0
2828

2929
/* Version as a string */
30-
#define PY_VERSION "2.7.18.5"
30+
#define PY_VERSION "2.7.18.6"
3131
/*--end constants--*/
3232

3333
/* Subversion Revision number of this file (not of the repository). Empty

Lib/test/test_int.py

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,6 @@
1+
# Copyright (C) 2022 ActiveState Software Inc.
2+
# test_int.py is licensed under the PSFLv2 License.
3+
# See the file LICENSE for details.
14
import sys
25

36
import unittest

Lib/test/test_long.py

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,6 @@
1+
# Copyright (C) 2022 ActiveState Software Inc.
2+
# test_long.py is licensed under the PSFLv2 License.
3+
# See the file LICENSE for details.
14
import unittest
25
import sys
36

Misc/NEWS.d/2.7.18.6.rst

Lines changed: 20 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,25 @@
22
.. date: 2022-11-16
33
.. nonce: as$i9+
44
.. release date: 2022-11-16
5-
.. section: Library
5+
.. original section: Library
6+
.. section: Security
67
78
Address CVE-2021-3733 in urllib2
9+
10+
.. bpo: 0
11+
.. date: 2022-11-16
12+
.. nonce: as$i9+
13+
.. release date: 2022-11-16
14+
.. original section: Core and Builtins
15+
.. section: Security
16+
17+
Address CVE-2020-10735 for long objects
18+
19+
.. bpo: 0
20+
.. date: 2022-11-16
21+
.. nonce: as$i9+
22+
.. release date: 2022-11-16
23+
.. original section: Library
24+
.. section: Security
25+
26+
Address CVE-2015-20107 in mailcap

Modules/main.c

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,7 @@
1+
/* Copyright (C) 2022 ActiveState Software Inc.
2+
* main.c is licensed under the PSFLv2 License.
3+
* See the file LICENSE for details.
4+
*/
15
/* Python interpreter main program */
26

37
#include "Python.h"

Objects/longobject.c

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,7 @@
1+
/* Copyright (C) 2022 ActiveState Software Inc.
2+
* longobject.c is licensed under the PSFLv2 License.
3+
* See the file LICENSE for details.
4+
*/
15
/* Long (arbitrary precision) integer object implementation */
26

37
/* XXX The functional organization of this file is terrible */

0 commit comments

Comments
 (0)