cpython/Lib/test
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
..
audiodata
capath
cjkencodings
crashers
data
decimaltestdata
dtracedata
eintrdata
encoded_modules
imghdrdata
leakers
libregrtest bpo-31370: Remove support for threads-less builds (#3385) 2017-09-07 18:56:24 +02:00
sndhdrdata
subprocessdata
support bpo-31370: Remove support for threads-less builds (#3385) 2017-09-07 18:56:24 +02:00
test_asyncio bpo-31370: Remove support for threads-less builds (#3385) 2017-09-07 18:56:24 +02:00
test_email bpo-31370: Remove support for threads-less builds (#3385) 2017-09-07 18:56:24 +02:00
test_import bpo-31286, bpo-30024: Fixed stack usage in absolute imports with (#3217) 2017-08-29 15:47:44 +03:00
test_importlib bpo-31370: Remove support for threads-less builds (#3385) 2017-09-07 18:56:24 +02:00
test_json
test_tools
test_warnings
tracedmodules
xmltestdata
Sine-1000Hz-300ms.aif
__init__.py
__main__.py
_test_multiprocessing.py
allsans.pem
ann_module.py
ann_module2.py
ann_module3.py
audiotest.au
audiotests.py
autotest.py
bad_coding.py
bad_coding2.py
badcert.pem
badkey.pem
badsyntax_3131.py
badsyntax_future3.py
badsyntax_future4.py
badsyntax_future5.py
badsyntax_future6.py
badsyntax_future7.py
badsyntax_future8.py
badsyntax_future9.py
badsyntax_future10.py
badsyntax_pep3120.py
bisect.py
bytecode_helper.py
cfgparser.1
cfgparser.2
cfgparser.3
cmath_testcases.txt
coding20731.py
curses_tests.py
datetimetester.py
dh1024.pem
dis_module.py
doctest_aliases.py
double_const.py
empty.vbs
exception_hierarchy.txt
final_a.py
final_b.py
floating_points.txt
fork_wait.py bpo-31370: Remove support for threads-less builds (#3385) 2017-09-07 18:56:24 +02:00
formatfloat_testcases.txt
future_test1.py
future_test2.py
gdb_sample.py
ieee754.txt
imp_dummy.py
inspect_fodder.py
inspect_fodder2.py
keycert.passwd.pem
keycert.pem
keycert2.pem
keycert3.pem
keycert4.pem
list_tests.py
lock_tests.py
mailcap.txt
make_ssl_certs.py
mapping_tests.py
math_testcases.txt
memory_watchdog.py
mime.types
mock_socket.py
mod_generics_cache.py
mp_fork_bomb.py
mp_preload.py
multibytecodec_support.py
nokia.pem
nullbytecert.pem
nullcert.pem
outstanding_bugs.py
pickletester.py
profilee.py
pstats.pck
pycacert.pem
pycakey.pem
pyclbr_input.py
pydoc_mod.py
pydocfodder.py
pythoninfo.py
randv2_32.pck
randv2_64.pck
randv3.pck
re_tests.py
regrtest.py
relimport.py
reperf.py
revocation.crl
sample_doctest.py
sample_doctest_no_docstrings.py
sample_doctest_no_doctests.py
selfsigned_pythontestdotnet.pem
seq_tests.py
sgml_input.html
signalinterproctester.py
sortperf.py
ssl_cert.pem
ssl_key.passwd.pem
ssl_key.pem
ssl_servers.py
ssltests.py
string_tests.py
test___all__.py
test___future__.py
test__locale.py
test__opcode.py
test__osx_support.py
test_abc.py
test_abstract_numbers.py
test_aifc.py
test_argparse.py bpo-14191 Add parse_intermixed_args. (#3319) 2017-09-06 20:25:40 -04:00
test_array.py
test_asdl_parser.py
test_ast.py
test_asyncgen.py
test_asynchat.py bpo-31370: Remove support for threads-less builds (#3385) 2017-09-07 18:56:24 +02:00
test_asyncore.py bpo-31370: Remove support for threads-less builds (#3385) 2017-09-07 18:56:24 +02:00
test_atexit.py
test_audioop.py
test_augassign.py
test_base64.py
test_baseexception.py
test_bigaddrspace.py
test_bigmem.py
test_binascii.py
test_binhex.py
test_binop.py
test_bisect.py
test_bool.py
test_buffer.py
test_bufio.py
test_builtin.py
test_bytes.py
test_bz2.py bpo-31370: Remove support for threads-less builds (#3385) 2017-09-07 18:56:24 +02:00
test_c_locale_coercion.py
test_calendar.py
test_call.py bpo-31229: Fixed wrong error messages when too many keyword arguments are received. (#3180) 2017-08-23 21:16:48 +03:00
test_capi.py bpo-31370: Remove support for threads-less builds (#3385) 2017-09-07 18:56:24 +02:00
test_cgi.py
test_cgitb.py
test_charmapcodec.py
test_class.py
test_cmath.py
test_cmd.py
test_cmd_line.py
test_cmd_line_script.py
test_code.py
test_code_module.py
test_codeccallbacks.py
test_codecencodings_cn.py
test_codecencodings_hk.py
test_codecencodings_iso2022.py
test_codecencodings_jp.py
test_codecencodings_kr.py
test_codecencodings_tw.py
test_codecmaps_cn.py
test_codecmaps_hk.py
test_codecmaps_jp.py
test_codecmaps_kr.py
test_codecmaps_tw.py
test_codecs.py
test_codeop.py
test_collections.py
test_colorsys.py
test_compare.py
test_compile.py
test_compileall.py
test_complex.py
test_concurrent_futures.py bpo-31370: Remove support for threads-less builds (#3385) 2017-09-07 18:56:24 +02:00
test_configparser.py bpo-23835: Restore legacy defaults= behavior for RawConfigParser (#3191) 2017-08-24 09:43:53 -07:00
test_contains.py
test_contextlib.py bpo-31370: Remove support for threads-less builds (#3385) 2017-09-07 18:56:24 +02:00
test_contextlib_async.py
test_copy.py
test_copyreg.py
test_coroutines.py
test_cprofile.py
test_crashers.py
test_crypt.py
test_csv.py
test_ctypes.py
test_curses.py
test_datetime.py
test_dbm.py
test_dbm_dumb.py
test_dbm_gnu.py
test_dbm_ndbm.py
test_decimal.py bpo-31370: Remove support for threads-less builds (#3385) 2017-09-07 18:56:24 +02:00
test_decorators.py
test_defaultdict.py
test_deque.py
test_descr.py
test_descrtut.py
test_devpoll.py
test_dict.py
test_dict_version.py
test_dictcomps.py
test_dictviews.py
test_difflib.py
test_difflib_expect.html
test_dis.py
test_distutils.py
test_doctest.py
test_doctest.txt
test_doctest2.py
test_doctest2.txt
test_doctest3.txt
test_doctest4.txt
test_docxmlrpc.py bpo-31370: Remove support for threads-less builds (#3385) 2017-09-07 18:56:24 +02:00
test_dtrace.py
test_dynamic.py
test_dynamicclassattribute.py
test_eintr.py
test_ensurepip.py
test_enum.py bpo-31370: Remove support for threads-less builds (#3385) 2017-09-07 18:56:24 +02:00
test_enumerate.py
test_eof.py
test_epoll.py
test_errno.py
test_exception_hierarchy.py
test_exception_variations.py
test_exceptions.py bpo-31161: only check for parens error for SyntaxError (#3082) 2017-08-22 13:16:23 -07:00
test_extcall.py
test_faulthandler.py bpo-31370: Remove support for threads-less builds (#3385) 2017-09-07 18:56:24 +02:00
test_fcntl.py
test_file.py
test_file_eintr.py
test_filecmp.py
test_fileinput.py bpo-31281: Fix pathlib.Path incompatibility in fileinput (gh-3208) 2017-09-04 13:37:24 -04:00
test_fileio.py
test_finalization.py
test_float.py
test_flufl.py
test_fnmatch.py
test_fork1.py bpo-31370: Remove support for threads-less builds (#3385) 2017-09-07 18:56:24 +02:00
test_format.py
test_fractions.py
test_frame.py
test_fstring.py bpo-30465: Fix lineno and col_offset in fstring AST nodes (#1800) 2017-09-06 17:27:58 -07:00
test_ftplib.py bpo-31370: Remove support for threads-less builds (#3385) 2017-09-07 18:56:24 +02:00
test_funcattrs.py
test_functools.py bpo-31370: Remove support for threads-less builds (#3385) 2017-09-07 18:56:24 +02:00
test_future.py
test_future3.py
test_future4.py
test_future5.py
test_gc.py bpo-31370: Remove support for threads-less builds (#3385) 2017-09-07 18:56:24 +02:00
test_gdb.py bpo-31370: Remove support for threads-less builds (#3385) 2017-09-07 18:56:24 +02:00
test_generator_stop.py
test_generators.py
test_genericpath.py
test_genexps.py
test_getargs2.py
test_getopt.py
test_getpass.py
test_gettext.py
test_glob.py
test_global.py
test_grammar.py
test_grp.py
test_gzip.py
test_hash.py
test_hashlib.py bpo-31370: Remove support for threads-less builds (#3385) 2017-09-07 18:56:24 +02:00
test_heapq.py
test_hmac.py
test_html.py
test_htmlparser.py
test_http_cookiejar.py
test_http_cookies.py
test_httplib.py
test_httpservers.py bpo-31370: Remove support for threads-less builds (#3385) 2017-09-07 18:56:24 +02:00
test_idle.py bpo-31370: Remove support for threads-less builds (#3385) 2017-09-07 18:56:24 +02:00
test_imaplib.py bpo-31370: Remove support for threads-less builds (#3385) 2017-09-07 18:56:24 +02:00
test_imghdr.py
test_imp.py bpo-31370: Remove support for threads-less builds (#3385) 2017-09-07 18:56:24 +02:00
test_index.py
test_inspect.py
test_int.py
test_int_literal.py
test_io.py bpo-31370: Remove support for threads-less builds (#3385) 2017-09-07 18:56:24 +02:00
test_ioctl.py
test_ipaddress.py
test_isinstance.py
test_iter.py
test_iterlen.py
test_itertools.py
test_keyword.py
test_keywordonlyarg.py
test_kqueue.py
test_largefile.py
test_lib2to3.py
test_linecache.py
test_list.py
test_listcomps.py
test_locale.py
test_logging.py bpo-31370: Remove support for threads-less builds (#3385) 2017-09-07 18:56:24 +02:00
test_long.py
test_longexp.py
test_lzma.py
test_macpath.py
test_mailbox.py
test_mailcap.py
test_marshal.py
test_math.py
test_memoryio.py bpo-29741: Update some methods in the _pyio module to also accept integer types. Patch by Oren Milman. (#560) 2017-08-24 11:33:42 -07:00
test_memoryview.py
test_metaclass.py
test_mimetypes.py
test_minidom.py
test_mmap.py
test_module.py
test_modulefinder.py
test_msilib.py
test_multibytecodec.py
test_multiprocessing_fork.py
test_multiprocessing_forkserver.py
test_multiprocessing_main_handling.py
test_multiprocessing_spawn.py
test_netrc.py
test_nis.py
test_nntplib.py bpo-31370: Remove support for threads-less builds (#3385) 2017-09-07 18:56:24 +02:00
test_normalization.py
test_ntpath.py
test_numeric_tower.py
test_opcodes.py
test_openpty.py
test_operator.py
test_optparse.py
test_ordered_dict.py
test_os.py bpo-31370: Remove support for threads-less builds (#3385) 2017-09-07 18:56:24 +02:00
test_ossaudiodev.py
test_osx_env.py
test_parser.py
test_pathlib.py
test_pdb.py bpo-31370: Remove support for threads-less builds (#3385) 2017-09-07 18:56:24 +02:00
test_peepholer.py
test_pickle.py
test_pickletools.py
test_pipes.py
test_pkg.py
test_pkgimport.py
test_pkgutil.py
test_platform.py
test_plistlib.py
test_poll.py bpo-31370: Remove support for threads-less builds (#3385) 2017-09-07 18:56:24 +02:00
test_popen.py
test_poplib.py bpo-31370: Remove support for threads-less builds (#3385) 2017-09-07 18:56:24 +02:00
test_posix.py
test_posixpath.py
test_pow.py
test_pprint.py
test_print.py
test_profile.py
test_property.py
test_pstats.py
test_pty.py remove IRIX support (closes bpo-31341) (#3310) 2017-09-04 16:36:05 -07:00
test_pulldom.py
test_pwd.py
test_py_compile.py
test_pyclbr.py
test_pydoc.py bpo-31370: Remove support for threads-less builds (#3385) 2017-09-07 18:56:24 +02:00
test_pyexpat.py
test_queue.py bpo-31370: Remove support for threads-less builds (#3385) 2017-09-07 18:56:24 +02:00
test_quopri.py
test_raise.py
test_random.py
test_range.py
test_re.py
test_readline.py
test_regrtest.py bpo-31370: Remove support for threads-less builds (#3385) 2017-09-07 18:56:24 +02:00
test_reprlib.py
test_resource.py
test_richcmp.py
test_rlcompleter.py
test_robotparser.py bpo-31370: Remove support for threads-less builds (#3385) 2017-09-07 18:56:24 +02:00
test_runpy.py
test_sax.py
test_sched.py bpo-31370: Remove support for threads-less builds (#3385) 2017-09-07 18:56:24 +02:00
test_scope.py
test_script_helper.py
test_secrets.py
test_select.py
test_selectors.py
test_set.py
test_setcomps.py
test_shelve.py
test_shlex.py
test_shutil.py
test_signal.py bpo-31370: Remove support for threads-less builds (#3385) 2017-09-07 18:56:24 +02:00
test_site.py
test_slice.py
test_smtpd.py
test_smtplib.py bpo-31370: Remove support for threads-less builds (#3385) 2017-09-07 18:56:24 +02:00
test_smtpnet.py
test_sndhdr.py
test_socket.py bpo-31370: Remove support for threads-less builds (#3385) 2017-09-07 18:56:24 +02:00
test_socketserver.py bpo-31370: Remove support for threads-less builds (#3385) 2017-09-07 18:56:24 +02:00
test_sort.py
test_source_encoding.py
test_spwd.py
test_sqlite.py
test_ssl.py bpo-29136: Add TLS 1.3 cipher suites and OP_NO_TLSv1_3 (#1363) 2017-09-07 18:07:00 -07:00
test_startfile.py
test_stat.py
test_statistics.py
test_strftime.py
test_string.py bpo-1198569: Allow string.Template braced pattern to be different (#3288) 2017-09-04 16:32:10 -04:00
test_string_literals.py
test_stringprep.py
test_strptime.py
test_strtod.py
test_struct.py
test_structmembers.py
test_structseq.py
test_subclassinit.py
test_subprocess.py bpo-31370: Remove support for threads-less builds (#3385) 2017-09-07 18:56:24 +02:00
test_sunau.py
test_sundry.py
test_super.py
test_support.py
test_symbol.py
test_symtable.py
test_syntax.py
test_sys.py bpo-31344: Per-frame control of trace events (GH-3417) 2017-09-08 10:14:16 +10:00
test_sys_setprofile.py
test_sys_settrace.py bpo-31344: Per-frame control of trace events (GH-3417) 2017-09-08 10:14:16 +10:00
test_sysconfig.py Remove all mention of Windows IA-64 support (GH-3389) 2017-09-06 15:45:25 -07:00
test_syslog.py
test_tarfile.py
test_tcl.py
test_telnetlib.py bpo-31370: Remove support for threads-less builds (#3385) 2017-09-07 18:56:24 +02:00
test_tempfile.py
test_textwrap.py
test_thread.py
test_threaded_import.py bpo-31370: Remove support for threads-less builds (#3385) 2017-09-07 18:56:24 +02:00
test_threadedtempfile.py bpo-31370: Remove support for threads-less builds (#3385) 2017-09-07 18:56:24 +02:00
test_threading.py bpo-31370: Remove support for threads-less builds (#3385) 2017-09-07 18:56:24 +02:00
test_threading_local.py bpo-31370: Remove support for threads-less builds (#3385) 2017-09-07 18:56:24 +02:00
test_threadsignals.py
test_time.py bpo-31370: Remove support for threads-less builds (#3385) 2017-09-07 18:56:24 +02:00
test_timeit.py
test_timeout.py
test_tix.py
test_tk.py
test_tokenize.py
test_trace.py
test_traceback.py
test_tracemalloc.py bpo-31370: Remove support for threads-less builds (#3385) 2017-09-07 18:56:24 +02:00
test_ttk_guionly.py
test_ttk_textonly.py
test_tuple.py
test_turtle.py
test_typechecks.py
test_types.py
test_typing.py
test_ucn.py
test_unary.py
test_unicode.py
test_unicode_file.py
test_unicode_file_functions.py
test_unicode_identifiers.py
test_unicodedata.py
test_unittest.py
test_univnewlines.py
test_unpack.py
test_unpack_ex.py
test_urllib.py
test_urllib2.py
test_urllib2_localnet.py bpo-31370: Remove support for threads-less builds (#3385) 2017-09-07 18:56:24 +02:00
test_urllib2net.py
test_urllib_response.py
test_urllibnet.py
test_urlparse.py
test_userdict.py
test_userlist.py
test_userstring.py
test_utf8source.py
test_uu.py
test_uuid.py
test_venv.py bpo-31370: Remove support for threads-less builds (#3385) 2017-09-07 18:56:24 +02:00
test_wait3.py
test_wait4.py
test_wave.py
test_weakref.py bpo-31370: Remove support for threads-less builds (#3385) 2017-09-07 18:56:24 +02:00
test_weakset.py
test_webbrowser.py
test_winconsoleio.py
test_winreg.py
test_winsound.py
test_with.py
test_wsgiref.py
test_xdrlib.py
test_xml_dom_minicompat.py
test_xml_etree.py
test_xml_etree_c.py
test_xmlrpc.py bpo-31370: Remove support for threads-less builds (#3385) 2017-09-07 18:56:24 +02:00
test_xmlrpc_net.py
test_xxtestfuzz.py bpo-29505: Add fuzz tests for float(str), int(str), unicode(str) (#2878) 2017-09-06 11:15:35 -07:00
test_yield_from.py
test_zipapp.py bpo-31072: Rename the new filter argument for zipapp.create_archive. (#3049) 2017-08-26 18:04:12 +01:00
test_zipfile.py
test_zipfile64.py
test_zipimport.py bpo-31291: Fixed an assertion failure in zipimport.zipimporter.get_data() (#3226) 2017-08-29 20:40:15 +03:00
test_zipimport_support.py
test_zlib.py
testcodec.py
testtar.tar
tf_inherit_check.py
threaded_import_hangers.py
time_hashlib.py
tokenize_tests-latin1-coding-cookie-and-utf8-bom-sig.txt
tokenize_tests-no-coding-cookie-and-utf8-bom-sig-only.txt
tokenize_tests-utf8-coding-cookie-and-no-utf8-bom-sig.txt
tokenize_tests-utf8-coding-cookie-and-utf8-bom-sig.txt
tokenize_tests.txt
win_console_handler.py
wrongcert.pem
xmltests.py
zip_cp437_header.zip
zipdir.zip