mbr / tinyrpc

A compact, modular transport and protocol agnostic RPC library. Does jsonrpc v2.
https://tinyrpc.readthedocs.org
MIT License
156 stars 53 forks source link

Modified to support python 3.x #34

Closed punkyoon closed 7 years ago

punkyoon commented 7 years ago

When I tried to import tinyrpc, I got this error.

File "/usr/local/lib/python3.5/dist-packages/tinyrpc/transports/http.py", line 4, in <module>
    from Queue import Queue
ImportError: No module named 'Queue'

so, I modified code to avoid version problems.

from six.moves import queue as Queue

this is related with issue #12

lnoor commented 7 years ago

Thanks for contributing. Within a few weeks I hope to create a new release. In it the import of Queue has gone. That makes your pull request superfluous. I will therefore close this request.