cpython/Lib
Will Childs-Klein c85d84166a
gh-116333: Relax error string text expectations in SSL-related tests (GH-116334)
* Relax error string text expectations in SSL-related tests

As suggested [here][1], this change relaxes the OpenSSL error string
text expectations in a number of tests. This was specifically done in
support of more easily building CPython [AWS-LC][2], but because AWS-LC
is a fork of [BoringSSL][3], it should increase compatibility with that
library as well.

In addition to the error string relaxations, we also add some guards
around the `tls-unique` channel binding being used with TLSv1.3, as that
feature (described in [RFC 6929][4]) is [not defined][5] for TLSv1.3.

[1]: https://discuss.python.org/t/support-building-ssl-and-hashlib-modules-against-aws-lc/44505/4
[2]: https://github.com/aws/aws-lc
[3]: https://github.com/google/boringssl
[4]: https://datatracker.ietf.org/doc/html/rfc5929#section-3
[5]: https://datatracker.ietf.org/doc/html/rfc8446#appendix-C.5
2024-03-21 19:16:36 +00:00
..
__phello__
asyncio gh-116773: Ensure overlapped objects on Windows are not deallocated too early by asyncio (GH-116774) 2024-03-20 14:33:28 +00:00
collections gh-116485: Fixed the typo (#116486) 2024-03-08 08:04:50 +00:00
concurrent
ctypes gh-71052: Implement ctypes.util.find_library on Android (GH-116379) 2024-03-21 14:20:57 +01:00
curses
dbm
email gh-76511: Fix email.Message.as_string() for non-ASCII message with ASCII charset (GH-116125) 2024-03-05 17:49:01 +02:00
encodings gh-85287: Change codecs to raise precise UnicodeEncodeError and UnicodeDecodeError (#113674) 2024-03-17 04:58:42 +00:00
ensurepip
html
http
idlelib
importlib GH-109653: Defer import of `importlib.metadata._adapters` (#109829) 2024-03-21 03:49:10 +00:00
json doc: Use super() in subclassed JSONEncoder examples (GH-115565) 2024-02-28 14:54:12 +01:00
logging gh-90535: Fix support of interval>1 in logging.TimedRotatingFileHandler (GH-116220) 2024-03-16 12:29:42 +02:00
multiprocessing gh-71052: Change Android's sys.platform from "linux" to "android" 2024-03-11 19:25:39 +00:00
pathlib pathlib ABCs: follow all symlinks in PathBase.glob() (#116293) 2024-03-04 02:26:33 +00:00
pydoc_data Python 3.13.0a5 2024-03-12 21:11:08 +01:00
re
site-packages
sqlite3
sysconfig
test gh-116333: Relax error string text expectations in SSL-related tests (GH-116334) 2024-03-21 19:16:36 +00:00
tkinter gh-116484: Fix collisions between Checkbutton and ttk.Checkbutton default names (GH-116495) 2024-03-16 13:31:19 +02:00
tomllib
turtledemo
unittest gh-75988: Fix issues with autospec ignoring wrapped object (#115223) 2024-03-08 19:14:32 +00:00
urllib gh-116764: Fix regressions in urllib.parse.parse_qsl() (GH-116801) 2024-03-16 12:36:05 +02:00
venv
wsgiref
xml gh-115398: Expose Expat >=2.6.0 reparse deferral API (CVE-2023-52425) (GH-115623) 2024-02-29 14:52:50 -08:00
xmlrpc
zipfile gh-106531: Refresh zipfile._path with zipp 3.18. (#116835) 2024-03-14 21:53:50 +00:00
zoneinfo
__future__.py
__hello__.py
_aix_support.py
_collections_abc.py
_compat_pickle.py
_compression.py
_markupbase.py
_opcode_metadata.py gh-116381: Remove bad specializations, add fail stats (GH-116464) 2024-03-08 00:21:21 +08:00
_osx_support.py
_py_abc.py
_pydatetime.py
_pydecimal.py
_pyio.py
_pylong.py
_sitebuiltins.py
_strptime.py
_threading_local.py
_weakrefset.py
abc.py
antigravity.py
argparse.py gh-116159: argparse: performance improvement parsing large number of options (#116162) 2024-03-01 11:52:53 +01:00
ast.py
base64.py bpo-31116: Add Z85 variant to base64 (GH-30598) 2024-02-25 19:17:54 +02:00
bdb.py
bisect.py
bz2.py
calendar.py
cmd.py
code.py
codecs.py
codeop.py
colorsys.py
compileall.py
configparser.py gh-116957: configparser: Do post-process values after DuplicateOptionError (GH-116958) 2024-03-19 11:59:08 +02:00
contextlib.py
contextvars.py
copy.py
copyreg.py
cProfile.py
csv.py
dataclasses.py gh-116647: Fix recursive child in dataclasses (#116790) 2024-03-19 08:58:40 -06:00
datetime.py
decimal.py
difflib.py
dis.py
doctest.py
enum.py gh-116600: [Enum] fix global Flag repr (GH-116615) 2024-03-11 15:41:53 -07:00
filecmp.py gh-57141: Add dircmp shallow option (GH-109499) 2024-03-04 17:27:43 +00:00
fileinput.py
fnmatch.py
fractions.py
ftplib.py
functools.py gh-72249: Include the module name in the repr of partial object (GH-101910) 2024-02-25 22:55:19 +02:00
genericpath.py
getopt.py
getpass.py
gettext.py
glob.py GH-116377: Stop raising ValueError from glob.translate(). (#116378) 2024-03-17 17:09:35 +00:00
graphlib.py
gzip.py
hashlib.py
heapq.py
hmac.py
imaplib.py
inspect.py gh-116987: Support class code objects in inspect.findsource() (GH-117025) 2024-03-21 10:30:10 +00:00
io.py
ipaddress.py GH-65056: Improve the IP address' is_global/is_private documentation (GH-113186) 2024-03-18 13:57:00 +01:00
keyword.py
linecache.py gh-71765: Fix inspect.getsource() on empty file (GH-20809) 2024-03-18 16:13:02 +01:00
locale.py
lzma.py
mailbox.py
mimetypes.py
modulefinder.py gh-114099 - Add iOS framework loading machinery. (GH-116454) 2024-03-19 08:36:19 -04:00
netrc.py
ntpath.py
nturl2path.py
numbers.py
opcode.py gh-116381: Specialize CONTAINS_OP (GH-116385) 2024-03-07 03:30:11 +08:00
operator.py
optparse.py
os.py gh-116401: Fix blocking os.fwalk() and shutil.rmtree() on opening a named pipe (GH-116421) 2024-03-13 11:40:28 +02:00
pdb.py gh-90095: Ignore empty lines and comments in .pdbrc (#116834) 2024-03-15 09:36:04 +00:00
pickle.py
pickletools.py
pkgutil.py
platform.py gh-116493: Remove old Python 2.x _winreg imports from platform.py (GH-116494) 2024-03-08 12:42:21 +00:00
plistlib.py
poplib.py
posixpath.py
pprint.py
profile.py
pstats.py
pty.py
py_compile.py
pyclbr.py
pydoc.py gh-116143: Fix race condition in pydoc _start_server (#116144) 2024-03-06 07:39:51 -07:00
queue.py gh-96471: Add ShutDown to queue.py '__all__' (#116699) 2024-03-13 07:21:30 +00:00
quopri.py
random.py
reprlib.py
rlcompleter.py
runpy.py
sched.py
secrets.py
selectors.py
shelve.py
shlex.py
shutil.py gh-116401: Fix blocking os.fwalk() and shutil.rmtree() on opening a named pipe (GH-116421) 2024-03-13 11:40:28 +02:00
signal.py
site.py gh-84995: Run sys.__interactivehook__() on asyncio REPL startup (#20517) 2024-03-01 11:39:16 -08:00
smtplib.py
socket.py
socketserver.py
sre_compile.py
sre_constants.py
sre_parse.py
ssl.py gh-107361: strengthen default SSL context flags (#112389) 2024-03-06 13:44:58 -08:00
stat.py
statistics.py Minor kde() docstring nit: make presentation order match the function signature (#116876) 2024-03-15 14:02:10 -05:00
string.py
stringprep.py
struct.py
subprocess.py gh-90872: Fix subprocess.Popen.wait() for negative timeout (#116989) 2024-03-19 14:42:44 +01:00
symtable.py
tabnanny.py
tarfile.py gh-115256: Remove refcycles from tarfile writing (GH-115257) 2024-03-04 13:26:32 +00:00
tempfile.py
textwrap.py
this.py
threading.py gh-114271: Fix race in Thread.join() (#114839) 2024-03-16 13:56:30 +01:00
timeit.py
token.py
tokenize.py
trace.py
traceback.py
tracemalloc.py
tty.py
turtle.py
types.py
typing.py gh-116127: PEP-705: Add ReadOnly support for TypedDict (#116350) 2024-03-12 07:49:39 -07:00
uuid.py gh-113308: Remove some internal parts of uuid module (#115934) 2024-03-14 13:01:41 +03:00
warnings.py
wave.py
weakref.py
webbrowser.py gh-85644: webbrowser: Use $XDG_CURRENT_DESKTOP to check desktop (GH-21731) 2024-03-02 12:48:24 +00:00
zipapp.py
zipimport.py