diff --git a/stdlib/@tests/stubtest_allowlists/py314.txt b/stdlib/@tests/stubtest_allowlists/py314.txt index ccf1541bf..238ea1e3b 100644 --- a/stdlib/@tests/stubtest_allowlists/py314.txt +++ b/stdlib/@tests/stubtest_allowlists/py314.txt @@ -16,7 +16,6 @@ _heapq.heapreplace_max _imp.pyc_magic_number_token _socket.IP_RECVTTL _socket.if_indextoname -_ssl.HAS_PHA _thread.RLock.locked _thread.set_name ast.Interpolation diff --git a/stdlib/_ssl.pyi b/stdlib/_ssl.pyi index e39ab5eb6..7ab880e4d 100644 --- a/stdlib/_ssl.pyi +++ b/stdlib/_ssl.pyi @@ -283,6 +283,8 @@ HAS_TLSv1: bool HAS_TLSv1_1: bool HAS_TLSv1_2: bool HAS_TLSv1_3: bool +if sys.version_info >= (3, 14): + HAS_PHA: bool # version info OPENSSL_VERSION_NUMBER: int