view roundup/anypy/ssl_.py @ 7942:52f5cb357e40

test: re-enable psycopg2 build win ci with python 3.13 beta 1 New beta1 version now in GH actions ci. See if psycopg2 installs with it. [skip travis]
author John Rouillard <rouilj@ieee.org>
date Sun, 12 May 2024 17:52:36 -0400
parents d5d7ecd31864
children
line wrap: on
line source

try:
    # Python 3+
    from ssl import SSLError
except (ImportError, AttributeError):
    # Python 2.5-2.7
    from socket import sslerror as SSLError  # noqa: F401

Roundup Issue Tracker: http://roundup-tracker.org/