view roundup/anypy/xmlrpc_.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 7b33365ccb2a
children 57325fea9982
line wrap: on
line source

try:
    # Python 3+.
    from xmlrpc import client, server
    server.SimpleXMLRPCDispatcher
except (ImportError, AttributeError):
    # Python 2.
    import SimpleXMLRPCServer as server
    import xmlrpclib as client  # noqa: F401

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