Skip to content

Using this library with Python 3.x #58

Open
@SajidSalim

Description

@SajidSalim

Can this library be supported to work for Python 3.x if certain issues are fixed? The following are the basic issues I have found. There are no compilation issues.

jsonrpc.py:
from xmlrpclib becomes from xmlrpc.client.
from httplib import HTTP, HTTPConnection becomes from http.client import HTTPConnection

SimpleJSONRPCServer.py:
SimpleXMLRPCServer becomes xmlrpc.server
ServerSocket becomes serversocket
Line 62: except Exception, e: becomes except Exception as e:

Any other changes I am missing?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions