cpython/Modules
Christian Heimes 9f2b3d4c28 [3.6] bpo-29136: Add TLS 1.3 cipher suites and OP_NO_TLSv1_3 (GH-1363) (#3444)
* bpo-29136: Add TLS 1.3 support

TLS 1.3 introduces a new, distinct set of cipher suites. The TLS 1.3
cipher suites don't overlap with cipher suites from TLS 1.2 and earlier.
Since Python sets its own set of permitted ciphers, TLS 1.3 handshake
will fail as soon as OpenSSL 1.1.1 is released. Let's enable the common
AES-GCM and ChaCha20 suites.

Additionally the flag OP_NO_TLSv1_3 is added. It defaults to 0 (no op) with
OpenSSL prior to 1.1.1. This allows applications to opt-out from TLS 1.3
now.

Signed-off-by: Christian Heimes <christian@python.org>.
(cherry picked from commit cb5b68abde)
2017-09-07 20:23:52 -07:00
..
_blake2 more PY_LONG_LONG to long long 2016-09-08 09:15:54 -07:00
_ctypes [3.6] bpo-10746: Fix ctypes PEP 3118 type codes for c_long, c_bool, c_int (GH-31) (#3241) 2017-08-30 11:40:05 +02:00
_decimal [3.6] bpo-27425: Be more explicit in .gitattributes (GH-840) (GH-2083) 2017-06-10 15:39:29 -05:00
_io bpo-31095: fix potential crash during GC (GH-3195) 2017-09-04 12:31:09 +09:00
_multiprocessing require a long long data type (closes #27961) 2016-09-05 17:44:18 -07:00
_sha3 Don't define PY_WITH_KECCAK 2016-09-21 14:36:44 +02:00
_sqlite bpo-28518: Start a transaction implicitly before a DML statement (#245) (#318) 2017-02-26 19:09:10 +03:00
cjkcodecs bpo-30003: Fix handling escape characters in HZ codec (#1556) (#1719) 2017-05-23 01:03:00 +08:00
clinic [3.6] bpo-30622: Change NPN detection: (GH-2079) (#3314) 2017-09-05 16:00:44 +02:00
expat bpo-31170: Update libexpat from 2.2.3 to 2.2.4 (#3315) (#3350) 2017-09-06 01:30:22 +02:00
zlib - Issue #29169: Update zlib to 1.2.10. 2017-01-31 13:49:48 +01:00
_asynciomodule.c bpo-31185: Fixed miscellaneous errors in asyncio speedup module. (#3076) (#3269) 2017-09-03 09:24:32 +03:00
_bisectmodule.c The return type of a rich comparison is an int 2016-02-14 01:41:35 -08:00
_bz2module.c Issue #28275: Merge bz2 fix from 3.5 into 3.6 2016-10-01 03:11:04 +00:00
_codecsmodule.c Issue #27781: Change file system encoding on Windows to UTF-8 (PEP 529) 2016-09-08 10:35:16 -07:00
_collectionsmodule.c bpo-31095: fix potential crash during GC (GH-3195) 2017-09-04 12:31:09 +09:00
_cryptmodule.c Issue #27332: Fixed the type of the first argument of module-level functions 2016-07-07 17:35:15 +03:00
_csv.c Issue #27809: _csv: _call_dialect() uses fast call 2016-08-23 00:21:34 +02:00
_curses_panel.c Issue #25745: Fixed leaking a userptr in curses panel destructor. 2016-05-09 00:14:22 +03:00
_cursesmodule.c [3.6] bpo-13617: Reject embedded null characters in wchar* strings. (GH-2302) (#2462) 2017-06-28 09:27:35 +03:00
_datetimemodule.c bpo-29953: Fix memory leaks in the replace() method of datetime and t… (#933) 2017-03-31 23:23:49 +03:00
_dbmmodule.c - Issue #27332: Fixed the type of the first argument of module-level functions 2016-07-07 18:20:03 +03:00
_elementtree.c bpo-31095: fix potential crash during GC (GH-3195) 2017-09-04 12:31:09 +09:00
_functoolsmodule.c bpo-31095: fix potential crash during GC (GH-3195) 2017-09-04 12:31:09 +09:00
_gdbmmodule.c - Issue #27332: Fixed the type of the first argument of module-level functions 2016-07-07 18:20:03 +03:00
_hashopenssl.c [3.6] bpo-30102: Call OPENSSL_add_all_algorithms_noconf (GH-3112) (#3342) 2017-09-05 17:12:03 +02:00
_heapqmodule.c Issue #15984: Merge PyUnicode doc from 3.5 2016-04-15 02:27:11 +00:00
_json.c bpo-31095: fix potential crash during GC (GH-3195) 2017-09-04 12:31:09 +09:00
_localemodule.c [3.6] bpo-13617: Reject embedded null characters in wchar* strings. (GH-2302) (#2462) 2017-06-28 09:27:35 +03:00
_lsprof.c Issue #28701: Replace PyUnicode_CompareWithASCIIString with _PyUnicode_EqualToASCIIString. 2016-11-16 10:19:20 +02:00
_lzmamodule.c Issue #27517: LZMA compressor and decompressor no longer raise exceptions if 2016-10-31 08:31:13 +02:00
_math.c Fix typo. 2014-10-28 22:24:46 +01:00
_math.h Issue #15477: Add workaround for log1p(-0.0) on platforms where it's broken. 2012-08-18 12:24:30 +01:00
_opcode.c Issue #27332: Fixed the type of the first argument of module-level functions 2016-07-07 17:35:15 +03:00
_operator.c Issue #27809: methodcaller_reduce() uses fast call 2016-08-23 00:23:23 +02:00
_pickle.c [3.6] _pickle: Fix whichmodule() (GH-3358) (#3361) 2017-09-05 21:43:19 -07:00
_posixsubprocess.c [3.6] bpo-30065: Fixed arguments validation in _posixsubprocess.fork_exec(). (GH-1110) (#1186) 2017-04-19 23:59:02 +03:00
_randommodule.c [3.6] bpo-29960 _random.Random corrupted on exception in setstate(). … (#1287) 2017-05-27 07:20:24 -07:00
_scproxy.c Eliminate a tautological-pointer-compare warning found by Clang. 2016-09-07 14:07:16 -07:00
_sre.c Issue #29444: Fixed out-of-bounds buffer access in the group() method of 2017-02-04 22:55:40 +02:00
_ssl.c [3.6] bpo-29136: Add TLS 1.3 cipher suites and OP_NO_TLSv1_3 (GH-1363) (#3444) 2017-09-07 20:23:52 -07:00
_ssl_data.h Issue #23248: Update ssl error codes from latest OpenSSL git master. 2015-01-18 17:39:32 +01:00
_stat.c Issue #21741: Add st_file_attributes to os.stat_result on Windows. 2014-06-19 09:46:37 -05:00
_struct.c bpo-31095: fix potential crash during GC (GH-3195) 2017-09-04 12:31:09 +09:00
_testbuffer.c Expand the PySlice_GetIndicesEx macro. (#1023) (#1044) 2017-04-08 11:18:14 +03:00
_testcapimodule.c [3.6] bpo-31243: Fixed PyArg_ParseTuple failure checks. (GH-3171) (#3233) 2017-08-29 15:43:32 +03:00
_testimportmultiple.c Remove compile warnings for _testimportmodule 2012-12-15 18:16:47 +02:00
_testmultiphase.c Merge #27782 fix from 3.5 2016-08-21 17:43:58 +10:00
_threadmodule.c Issue #27895: Spelling fixes (Contributed by Ville Skyttä). 2016-09-07 12:03:06 +00:00
_tkinter.c [3.6] bpo-30708: Check for null characters in PyUnicode_AsWideCharString(). (GH-2285) (#2443) 2017-06-27 21:08:58 +03:00
_tracemalloc.c [3.6] bpo-31018: Switch to GH-pragma pack from __declspec(align) (GH-2848) (#2868) 2017-07-25 19:20:38 +02:00
_weakref.c Issue #28427: old keys should not remove new values from 2016-12-27 14:19:20 +01:00
_winapi.c [3.6] bpo-30745: Fix compiler warnings introduced in bpo-30730. (GH-2376) (#2378) 2017-06-24 16:28:26 +03:00
addrinfo.h replace PY_LONG_LONG with long long 2016-09-06 10:46:49 -07:00
ar_beos
arraymodule.c Expand the PySlice_GetIndicesEx macro. (#1023) (#1044) 2017-04-08 11:18:14 +03:00
atexitmodule.c [3.6] bpo-28994: Fixed errors handling in atexit._run_exitfuncs(). (GH-2034) (#2121) 2017-06-12 09:02:13 +03:00
audioop.c [3.6] bpo-28261: Prevent raising SystemError where PyArg_ParseTuple is used to parse non-args. (#3210) 2017-08-26 15:27:50 +03:00
binascii.c Issue #29004: Merge crc_hqx() doc from 3.5 2016-12-24 07:44:03 +00:00
cmathmodule.c Issue 23229: add cmath.inf, cmath.nan, cmath.infj and cmath.nanj. 2016-08-29 13:56:58 +01:00
config.c.in PEP 489: Multi-phase extension module initialization 2015-05-23 22:24:10 +10:00
errnomodule.c Fix #13210. Port the Windows build from VS2008 to VS2010. 2012-05-13 11:19:23 -05:00
faulthandler.c [3.6] bpo-30557: faulthandler now correctly filters and displays exception … (#1960) 2017-06-06 13:47:14 -07:00
fcntlmodule.c Issue #28139: Fix messed up indentation 2016-09-17 03:26:16 +00:00
fpectlmodule.c Issue #16136: Remove VMS support and VMS-related code 2013-12-21 16:19:10 +01:00
fpetestmodule.c
gc_weakref.txt Issue #13575: there is only one class type. 2011-12-12 18:54:29 +01:00
gcmodule.c Don't run garbage collection on interpreter exit if it was explicitly disabled 2016-09-09 21:47:46 -07:00
getaddrinfo.c Issue #26505: merge from 3.5 2016-03-07 14:52:46 -05:00
getbuildinfo.c [3.6] bpo-27593: Get SCM build info from git instead of hg. (#446) (#454) 2017-03-04 01:05:06 -05:00
getnameinfo.c Issue #15538: Fix compilation of the getnameinfo() / getaddrinfo() emulation code. 2012-08-02 20:37:12 +02:00
getpath.c Issue #19398: Extra slash no longer added to sys.path components in case of 2016-11-11 12:06:38 +02:00
grpmodule.c [3.6] bpo-13617: Reject embedded null characters in wchar* strings. (GH-2302) (#2462) 2017-06-28 09:27:35 +03:00
hashlib.h Issue #26798: Add BLAKE2 (blake2b and blake2s) to hashlib. 2016-09-06 22:03:25 +02:00
hashtable.c Issue #28126: Replace Py_MEMCPY with memcpy(). Visual Studio can properly optimize memcpy(). 2016-09-13 20:22:02 +02:00
hashtable.h Issue #28126: Replace Py_MEMCPY with memcpy(). Visual Studio can properly optimize memcpy(). 2016-09-13 20:22:02 +02:00
itertoolsmodule.c bpo-29942: Fix the use of recursion in itertools.chain.from_iterable. (#911) 2017-03-30 12:48:23 -07:00
ld_so_aix.in Issue #10656: Fix out-of-tree building on AIX 2016-11-20 07:56:37 +00:00
ld_so_beos
main.c [3.6] bpo-29723: Consistently configure sys.path[0] (#636) 2017-03-12 21:34:22 +10:00
makesetup generate spaces instead of tabs into config.c 2017-01-16 00:05:12 -08:00
makexp_aix
mathmodule.c Issue #27895: Spelling fixes (Contributed by Ville Skyttä). 2016-09-07 12:03:06 +00:00
md5module.c replace PY_LONG_LONG with long long 2016-09-06 10:46:49 -07:00
mmapmodule.c Expand the PySlice_GetIndicesEx macro. (#1023) (#1044) 2017-04-08 11:18:14 +03:00
nismodule.c [3.6] bpo-13617: Reject embedded null characters in wchar* strings. (GH-2302) (#2462) 2017-06-28 09:27:35 +03:00
ossaudiodev.c Issue #28715: Added error checks for PyUnicode_AsUTF8(). 2016-11-20 08:48:07 +02:00
overlapped.c [3.6] bpo-30708: Check for null characters in PyUnicode_AsWideCharString(). (GH-2285) (#2443) 2017-06-27 21:08:58 +03:00
parsermodule.c [3.6] bpo-30070: Fixed leaks and crashes in errors handling in the parser module. (GH-1131). (#1184) 2017-04-19 23:22:19 +03:00
posixmodule.c [3.6] bpo-31343: Include sys/sysmacros.h (GH-3318) (#3344) 2017-09-05 17:09:12 +02:00
posixmodule.h Issue #4591: Uid and gid values larger than 2**31 are supported now. 2013-02-12 09:24:16 +02:00
pwdmodule.c [3.6] bpo-13617: Reject embedded null characters in wchar* strings. (GH-2302) (#2462) 2017-06-28 09:27:35 +03:00
pyexpat.c bpo-29591: Upgrade Modules/expat to libexpat 2.2 (#2164) (#2200) 2017-06-15 01:26:16 +02:00
readline.c [3.6] bpo-29854: Fix segfault in call_readline() (GH-728) 2017-07-08 21:51:21 +03:00
README Issue #18093: Factor out the programs that embed the runtime 2014-07-25 21:52:14 +10:00
resource.c Issue #20191: Fixed a crash in resource.prlimit() when pass a sequence that 2016-12-19 08:05:39 +02:00
rotatingtree.c
rotatingtree.h
selectmodule.c bpo-28667: Fix a compile warning on FreeBSD when compare with FD_SETSIZE. (#501) (#3190) 2017-08-23 00:58:43 +02:00
Setup.config.in remove --with(out)-signal-module, since the signal module is non-optional 2016-09-09 12:01:10 -07:00
Setup.dist [3.6] Add missing _sha3 module to Setup.dist (GH-2395) (#3280) 2017-09-04 10:08:35 -07:00
sha1module.c replace PY_LONG_LONG with long long 2016-09-06 10:46:49 -07:00
sha256module.c Issue #27332: Fixed the type of the first argument of module-level functions 2016-07-07 17:35:15 +03:00
sha512module.c stop using Py_LL and Py_ULL 2016-09-18 18:12:21 -07:00
signalmodule.c [3.6] bpo-30808: Use _Py_atomic API for concurrency-sensitive signal state (GH-2417) (#3007) 2017-08-06 19:32:39 +02:00
socketmodule.c bpo-30319: socket.close() now ignores ECONNRESET (#2565) (#2566) 2017-07-04 16:46:10 +02:00
socketmodule.h Add sockaddr_alg to sock_addr_t (GH-234) (GH-533) 2017-03-16 20:59:36 -07:00
spwdmodule.c [3.6] bpo-13617: Reject embedded null characters in wchar* strings. (GH-2302) (#2462) 2017-06-28 09:27:35 +03:00
sre.h Issue #17381: Fixed handling of case-insensitive ranges in regular expressions. 2014-10-31 12:36:56 +02:00
sre_constants.h Issue #17381: Fixed handling of case-insensitive ranges in regular expressions. 2014-10-31 12:36:56 +02:00
sre_lib.h replace Py_(u)intptr_t with the c99 standard types 2016-09-06 13:47:26 -07:00
symtablemodule.c Issue #27985: Implement PEP 526 -- Syntax for Variable Annotations. 2016-09-08 20:50:03 -07:00
syslogmodule.c Replaced outdated macros _PyUnicode_AsString and _PyUnicode_AsStringAndSize 2016-11-20 09:13:07 +02:00
termios.c
testcapi_long.h Issue #9530: Fix undefined behaviour due to signed overflow in testcapi_long.h. 2011-11-19 17:58:15 +00:00
timemodule.c [3.6] bpo-30708: Check for null characters in PyUnicode_AsWideCharString(). (GH-2285) (#2443) 2017-06-27 21:08:58 +03:00
tkappinit.c Issue #4350: Removed a number of out-of-dated and non-working for a long time 2014-07-23 22:33:50 +03:00
tkinter.h Issue #16840. Turn off bignum support in tkinter with with Tcl earlier than 8.5.8 2015-04-22 10:59:32 +03:00
unicodedata.c Add an extra byte for null in case we ever get very long unicode names. 2016-09-23 20:21:20 +02:00
unicodedata_db.h Unicode 9.0.0 2016-09-14 23:53:47 -07:00
unicodename_db.h Unicode 9.0.0 2016-09-14 23:53:47 -07:00
winreparse.h Issue #17599: Use unique _Py_REPARSE_DATA_BUFFER etc names to avoid conflict 2016-08-04 02:38:59 +00:00
xxlimited.c merge 3.5 (#29398) 2017-01-31 23:31:10 -08:00
xxmodule.c Issue #25923: Added more const qualifiers to signatures of static and private functions. 2015-12-25 20:01:53 +02:00
xxsubtype.c PEP 489: Multi-phase extension module initialization 2015-05-23 22:24:10 +10:00
zipimport.c [3.6] bpo-31291: Fixed an assertion failure in zipimport.zipimporter.get_data() (GH-3226) (#3243) 2017-08-30 14:08:39 +03:00
zlibmodule.c Issue #28126: Replace Py_MEMCPY with memcpy(). Visual Studio can properly optimize memcpy(). 2016-09-13 20:22:02 +02:00

Source files for standard library extension modules,
and former extension modules that are now builtin modules.