]> git.ipfire.org Git - thirdparty/Python/cpython.git/commit
gh-100062: Remove error code tables from _ssl and err_names_to_codes (GH-100063)
authorDavid Benjamin <davidben@google.com>
Mon, 3 Apr 2023 22:44:00 +0000 (07:44 +0900)
committerGitHub <noreply@github.com>
Mon, 3 Apr 2023 22:44:00 +0000 (23:44 +0100)
commit02f9920900551fd0281c8989d65521d4fce4ead1
tree90d49bcd1bf1110bbc8ed425d72221f86bcb5dab
parent5ffc1e5a21de9a30566095386236db44695d184a
gh-100062: Remove error code tables from _ssl and err_names_to_codes (GH-100063)

Prior to https://github.com/python/cpython/pull/25300, the
make_ssl_data.py script used various tables, exposed in _ssl, to update
the error list.

After that PR, this is no longer used. Moreover, the err_names_to_codes
map isn't used at all. Clean those up. This gets them out of the way if,
in the future, OpenSSL provides an API to do what the code here is doing
directly. (https://github.com/openssl/openssl/issues/19848)
Modules/_ssl.c
Modules/_ssl.h