view roundup/anypy/ssl_.py @ 8549:e920db4d00d3

build(deps): bump codecov/codecov-action from 5.5.3 to 6.0.0 #87
author John Rouillard <rouilj@ieee.org>
date Mon, 30 Mar 2026 10:55:53 -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/