cpython/Lib
Christian Heimes cb5b68abde bpo-29136: Add TLS 1.3 cipher suites and OP_NO_TLSv1_3 (#1363)
* 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>
2017-09-07 18:07:00 -07:00
..
asyncio bpo-31350: Optimize get_event_loop and _get_running_loop (#3347) 2017-09-05 20:36:59 -04:00
collections bpo-30662: fixed OrderedDict.__init__ docstring re PEP 468 (#2179) 2017-09-05 16:23:49 -07:00
concurrent Fix a c.f.as_completed() refleak previously introduced in bpo-27144 (#3270) 2017-09-03 15:09:23 +02:00
ctypes bpo-31370: Remove support for threads-less builds (#3385) 2017-09-07 18:56:24 +02:00
curses Issue #13051: Fixed recursion errors in large or resized curses.textpad.Textbox. 2016-12-28 10:16:06 +02:00
dbm bpo-30144: Import collections ABC from collections.abc rather than collections. (#1263) 2017-04-24 09:05:00 +03:00
distutils bpo-30389 Adds detection of VS 2017 to distutils._msvccompiler (#1632) 2017-09-07 11:49:23 -07:00
email bpo-30532: Fix whitespace folding in certain cases 2017-06-26 17:41:35 -04:00
encodings
ensurepip Merge - upgrade pip/setuptools 2016-11-15 21:18:40 -05:00
html bpo-30629: Remove second call of str.lower() in html.parser.parse_endtag. (#2099) 2017-06-16 21:15:25 -04:00
http bpo-31370: Remove support for threads-less builds (#3385) 2017-09-07 18:56:24 +02:00
idlelib bpo-31051: Rearrange IDLE condigdialog GenPage into Window, Editor, and Help sections. (#3239) 2017-08-30 00:59:11 -04:00
importlib bpo-31070: Fix a race condition in importlib _get_module_lock(). (#3033) 2017-08-09 14:29:12 +03:00
json Fix trivial typo in json module docstring (GH-2274) 2017-06-20 13:07:20 -07:00
lib2to3 bpo-29783: Replace codecs.open() with io.open() (#599) 2017-06-16 08:59:01 +02:00
logging bpo-31370: Remove support for threads-less builds (#3385) 2017-09-07 18:56:24 +02:00
msilib Remove all mention of Windows IA-64 support (GH-3389) 2017-09-06 15:45:25 -07:00
multiprocessing [Trivial] Remove now redundant assert (#3245) 2017-08-30 16:57:12 +02:00
pydoc_data Regenerated pydoc topics for 3.5.3rc1. 2017-01-01 22:09:56 -08:00
site-packages Issue #29283: Delete accidentally added Lib/site-packages/README 2017-01-30 13:55:49 +03:00
sqlite3 bpo-31370: Remove support for threads-less builds (#3385) 2017-09-07 18:56:24 +02:00
test bpo-29136: Add TLS 1.3 cipher suites and OP_NO_TLSv1_3 (#1363) 2017-09-07 18:07:00 -07:00
tkinter ttk: fix LabeledScale and OptionMenu destroy() method (#3025) 2017-08-08 19:41:21 +02:00
turtledemo bpo-30296 Remove unnecessary tuples, lists, sets, and dicts (#1489) 2017-05-18 07:35:54 -07:00
unittest Spelling fixes (#2902) 2017-08-03 09:00:59 +03:00
urllib remove a redundant lower in urllib.parse.urlsplit (#3008) 2017-09-02 21:51:39 -07:00
venv bpo-27425: Be more explicit in .gitattributes (GH-840) 2017-06-10 14:58:42 -05:00
wsgiref
xml bpo-30264: ExpatParser closes the source on error (#1451) 2017-05-05 09:46:47 +02:00
xmlrpc bpo-31247: xmlrpc.server: break reference cycle (#3166) 2017-08-21 18:12:58 +02:00
__future__.py
__phello__.foo.py
_bootlocale.py Issue #28596: The preferred encoding is UTF-8 on Android. 2016-12-17 09:19:11 +01:00
_collections_abc.py bpo-29762: More use "raise from None". (#569) 2017-04-05 09:37:24 +03:00
_compat_pickle.py
_compression.py
_markupbase.py
_osx_support.py Fix misplaced positional argument in OS X support library (#1134) 2017-04-14 15:28:55 +03:00
_pydecimal.py bpo-31370: Remove support for threads-less builds (#3385) 2017-09-07 18:56:24 +02:00
_pyio.py bpo-31370: Remove support for threads-less builds (#3385) 2017-09-07 18:56:24 +02:00
_sitebuiltins.py
_strptime.py bpo-31370: Remove support for threads-less builds (#3385) 2017-09-07 18:56:24 +02:00
_threading_local.py
_weakrefset.py bpo-30296 Remove unnecessary tuples, lists, sets, and dicts (#1489) 2017-05-18 07:35:54 -07:00
abc.py bpo-30463: Add an empty __slots__ to abc.ABC. 2017-06-06 22:34:57 +03:00
aifc.py bpo-29762: More use "raise from None". (#569) 2017-04-05 09:37:24 +03:00
antigravity.py Issue #28181: Get antigravity over HTTPS. Patch by Kaartic Sivaraam. 2016-09-16 13:48:10 +02:00
argparse.py bpo-14191 Add parse_intermixed_args. (#3319) 2017-09-06 20:25:40 -04:00
ast.py bpo-29637: clean docstring only if not None (GH-267) 2017-02-24 15:44:19 +09:00
asynchat.py
asyncore.py bpo-30980: Fix double close in asyncore.file_wrapper (#2789) 2017-07-24 23:18:06 +02:00
base64.py Add Python version since deprecation in base64 methods. (#33) 2017-03-02 17:21:26 +03:00
bdb.py bpo-30211: bdb: add docstrings (#1350) 2017-05-16 18:28:02 -04:00
binhex.py
bisect.py Issue #28792: Remove aliases from _bisect 2016-11-24 23:31:59 +01:00
bz2.py bpo-31370: Remove support for threads-less builds (#3385) 2017-09-07 18:56:24 +02:00
cProfile.py
calendar.py bpo-30095: Make CSS classes used by calendar.HTMLCalendar customizable (GH-1439) 2017-06-06 11:35:59 +02:00
cgi.py bpo-29979: Rewrite cgi.parse_multipart to make it consistent with FieldStorage (#991) 2017-05-08 05:08:34 -07:00
cgitb.py
chunk.py bpo-29762: More use "raise from None". (#569) 2017-04-05 09:37:24 +03:00
cmd.py Issue #18200: Back out usage of ModuleNotFoundError (8d28d44f3a9a) 2013-07-04 17:43:24 -04:00
code.py bpo-30166: Import command-line parsing modules only when needed. (#1293) 2017-05-04 08:17:47 +03:00
codecs.py bpo-29783: Replace codecs.open() with io.open() (#599) 2017-06-16 08:59:01 +02:00
codeop.py
colorsys.py
compileall.py
configparser.py bpo-23835: Restore legacy defaults= behavior for RawConfigParser (#3191) 2017-08-24 09:43:53 -07:00
contextlib.py bpo-30266: support "= None" pattern in AbstractContextManager (#1448) 2017-06-09 08:21:47 -07:00
copy.py
copyreg.py bpo-31107: Fix copyreg mangled slot names calculation. (#2989) 2017-08-04 11:45:00 +03:00
crypt.py
csv.py Issue #29405: Make total calculation in _guess_delimiter more accurate. 2017-02-06 10:50:09 +08:00
datetime.py Closes issue bpo-5288: Allow tzinfo objects with sub-minute offsets. (#2896) 2017-07-31 10:26:50 -04:00
decimal.py
difflib.py bpo-29762: More use "raise from None". (#569) 2017-04-05 09:37:24 +03:00
dis.py bpo-31183: `dis` now handles coroutines & async generators (GH-3077) 2017-08-18 12:29:21 +10:00
doctest.py bpo-30166: Import command-line parsing modules only when needed. (#1293) 2017-05-04 08:17:47 +03:00
enum.py Spelling fixes (#2902) 2017-08-03 09:00:59 +03:00
filecmp.py
fileinput.py bpo-31281: Fix pathlib.Path incompatibility in fileinput (gh-3208) 2017-09-04 13:37:24 -04:00
fnmatch.py
formatter.py
fractions.py
ftplib.py bpo-30119: fix ftplib.FTP.putline() to throw an error for a illegal command (#1214) 2017-07-22 19:20:22 +02:00
functools.py bpo-31370: Remove support for threads-less builds (#3385) 2017-09-07 18:56:24 +02:00
genericpath.py
getopt.py
getpass.py getpass: update docstrings (#49) 2017-02-12 23:10:48 +01:00
gettext.py bpo-29755: Fixed the lgettext() family of functions in the gettext module. (#2266) 2017-06-20 17:13:29 +03:00
glob.py
gzip.py
hashlib.py
heapq.py Improve clarity (and small speed-up) by using tuple unpacking (#3289) 2017-09-04 11:47:58 -07:00
hmac.py
imaplib.py bpo-30329: Catch Windows error 10022 on shutdown() (#1538) 2017-05-15 17:33:45 +02:00
imghdr.py
imp.py bpo-30645: don't append to an inner loop path in imp.load_package() (GH-2268) 2017-06-23 10:35:03 -07:00
inspect.py bpo-25532: Protect against infinite loops in inspect.unwrap() (#1717) 2017-05-23 13:27:52 +10:00
io.py
ipaddress.py bpo-29931 fix __lt__ check in ipaddress.ip_interface for both v4 and v6. (#879) 2017-04-01 09:09:53 +03:00
keyword.py
linecache.py
locale.py bpo-30144: Import collections ABC from collections.abc rather than collections. (#1263) 2017-04-24 09:05:00 +03:00
lzma.py
macpath.py bpo-9850: Deprecate the macpath module (#1540) 2017-05-15 11:01:21 +02:00
mailbox.py bpo-29762: More use "raise from None". (#569) 2017-04-05 09:37:24 +03:00
mailcap.py
mimetypes.py bpo-30824: Add mimetype for .json (#3048) 2017-08-14 14:39:45 -04:00
modulefinder.py Remove unused imports. 2016-12-16 20:00:15 +02:00
netrc.py bpo-29762: More use "raise from None". (#569) 2017-04-05 09:37:24 +03:00
nntplib.py bpo-29762: More use "raise from None". (#569) 2017-04-05 09:37:24 +03:00
ntpath.py Issue #29197: Removed deprecated function ntpath.splitunc(). 2017-01-13 20:55:05 +02:00
nturl2path.py bpo-29836: Remove nturl2path from test_sundry and amend the module docstring (GH-694) 2017-03-17 11:16:20 -07:00
numbers.py
opcode.py Issue #26110: Add LOAD_METHOD/CALL_METHOD opcodes. 2016-12-13 19:03:51 -05:00
operator.py
optparse.py
os.py bpo-30441: Fix bug when modifying os.environ while iterating over it (#2409) 2017-07-01 20:34:45 +03:00
pathlib.py bpo-30897: Add is_mount() to pathlib.Path (#2669) 2017-08-01 15:35:45 -07:00
pdb.py
pickle.py bpo-29762: More use "raise from None". (#569) 2017-04-05 09:37:24 +03:00
pickletools.py bpo-30174: Remove duplicate definition from pickletools (#1301) 2017-04-27 19:05:26 +03:00
pipes.py
pkgutil.py bpo-24744: Raises error in pkgutil.walk_packages if path is str (#1926) 2017-06-13 13:11:14 -04:00
platform.py bpo-27593: Get SCM build info from git instead of hg. (#446) 2017-03-04 00:19:55 -05:00
plistlib.py bpo-29196: Removed old-deprecated classes Plist, Dict and _InternalDict (#488) 2017-05-15 13:21:31 +03:00
poplib.py bpo-30329: Catch Windows error 10022 on shutdown() (#1538) 2017-05-15 17:33:45 +02:00
posixpath.py
pprint.py
profile.py bpo-30166: Import command-line parsing modules only when needed. (#1293) 2017-05-04 08:17:47 +03:00
pstats.py bpo-30296 Remove unnecessary tuples, lists, sets, and dicts (#1489) 2017-05-18 07:35:54 -07:00
pty.py
py_compile.py
pyclbr.py bpo-6691: Pyclbr now reports nested classes and functions. (#2503) 2017-07-03 21:31:25 -04:00
pydoc.py bpo-31238: pydoc ServerThread.stop() now joins itself (#3151) 2017-08-21 23:24:40 +02:00
queue.py bpo-31370: Remove support for threads-less builds (#3385) 2017-09-07 18:56:24 +02:00
quopri.py
random.py random_triangular: sqrt() is more accurate than **0.5 (#3317) 2017-09-04 16:51:06 -07:00
re.py bpo-30215: Make re.compile() locale agnostic. (#1361) 2017-05-05 08:53:40 +03:00
reprlib.py bpo-31370: Remove support for threads-less builds (#3385) 2017-09-07 18:56:24 +02:00
rlcompleter.py
runpy.py
sched.py bpo-31370: Remove support for threads-less builds (#3385) 2017-09-07 18:56:24 +02:00
secrets.py Issue #29061: secrets.randbelow() would hang with a negative input 2016-12-29 22:54:25 -07:00
selectors.py bpo-30624 remaining bare except (#2108) 2017-06-12 14:43:40 +02:00
shelve.py bpo-30144: Import collections ABC from collections.abc rather than collections. (#1263) 2017-04-24 09:05:00 +03:00
shlex.py Fixed #29132: Updated shlex to work better with punctuation chars in POSIX mode. 2017-01-15 10:06:52 +00:00
shutil.py bpo-30218: support path-like objects in shutil.unpack_archive() (GH-1367) 2017-05-05 14:27:12 -07:00
signal.py
site.py bpo-30804: fix macOS build with framework enabled. (#2516) 2017-06-30 19:38:02 +02:00
smtpd.py
smtplib.py bpo-30394: Fix a socket leak in smtplib.SMTP.__init__() (#1700) 2017-05-24 13:14:50 +08:00
sndhdr.py
socket.py
socketserver.py bpo-31370: Remove support for threads-less builds (#3385) 2017-09-07 18:56:24 +02:00
sre_compile.py bpo-30299: Display a bytecode when compile a regex in debug mode. (#1491) 2017-05-14 09:05:13 +03:00
sre_constants.py bpo-30398: Add a docstring for re.error. (#1647) 2017-05-27 16:12:48 +03:00
sre_parse.py bpo-30605: Fix compiling binary regexs with BytesWarnings enabled. (#2016) 2017-06-10 08:01:16 +03:00
ssl.py bpo-29136: Add TLS 1.3 cipher suites and OP_NO_TLSv1_3 (#1363) 2017-09-07 18:07:00 -07:00
stat.py
statistics.py bpo-29919: Remove unused imports found by pyflakes (#137) 2017-03-27 16:05:26 +02:00
string.py bpo-1198569: Allow string.Template braced pattern to be different (#3288) 2017-09-04 16:32:10 -04:00
stringprep.py
struct.py
subprocess.py bpo-22635: Update the getstatusoutput docstring. (#3435) 2017-09-07 16:11:02 -07:00
sunau.py
symbol.py
symtable.py bpo-30296 Remove unnecessary tuples, lists, sets, and dicts (#1489) 2017-05-18 07:35:54 -07:00
sysconfig.py Remove all mention of Windows IA-64 support (GH-3389) 2017-09-06 15:45:25 -07:00
tabnanny.py bpo-30166: Import command-line parsing modules only when needed. (#1293) 2017-05-04 08:17:47 +03:00
tarfile.py Remove two legacy constants which hopefully have no consumers (#1087) 2017-04-11 22:41:42 -04:00
telnetlib.py
tempfile.py bpo-31370: Remove support for threads-less builds (#3385) 2017-09-07 18:56:24 +02:00
textwrap.py bpo-30620: Remove dead lines from textwrap.dedent (GH-2064) 2017-06-15 19:19:43 -07:00
this.py
threading.py bpo-31370: Remove support for threads-less builds (#3385) 2017-09-07 18:56:24 +02:00
timeit.py bpo-29661: fix contradiction in timeit.Timer.autorange's docstring (GH-331) 2017-02-28 11:06:07 +08:00
token.py bpo-25324: copy tok_name before changing it (#1608) 2017-05-31 16:00:21 +02:00
tokenize.py bpo-25324: copy tok_name before changing it (#1608) 2017-05-31 16:00:21 +02:00
trace.py bpo-31370: Remove support for threads-less builds (#3385) 2017-09-07 18:56:24 +02:00
traceback.py bpo-30296 Remove unnecessary tuples, lists, sets, and dicts (#1489) 2017-05-18 07:35:54 -07:00
tracemalloc.py bpo-30144: Import collections ABC from collections.abc rather than collections. (#1263) 2017-04-24 09:05:00 +03:00
tty.py
turtle.py bpo-30296 Remove unnecessary tuples, lists, sets, and dicts (#1489) 2017-05-18 07:35:54 -07:00
types.py bpo:29950: Rename SlotWrapperType to WrapperDescriptorType (GH-926) 2017-04-25 21:26:36 +03:00
typing.py bpo-28556: Updates to typing module (#2076) 2017-06-10 12:57:56 -07:00
uu.py bpo-30103: Allow Uuencode in Python using backtick as zero instead of space (#1326) 2017-05-03 11:16:21 +08:00
uuid.py remove IRIX support (closes bpo-31341) (#3310) 2017-09-04 16:36:05 -07:00
warnings.py Simplify code in warnings modules (#1935) 2017-06-04 11:34:16 -04:00
wave.py
weakref.py bpo-30144: Import collections ABC from collections.abc rather than collections. (#1263) 2017-04-24 09:05:00 +03:00
webbrowser.py bpo-29645: Speed up importing the webbrowser module. (#484) 2017-03-08 17:15:54 +02:00
xdrlib.py
zipapp.py bpo-31072: Rename the new filter argument for zipapp.create_archive. (#3049) 2017-08-26 18:04:12 +01:00
zipfile.py bpo-31370: Remove support for threads-less builds (#3385) 2017-09-07 18:56:24 +02:00