pushyrpc / pushy

Easy-as RPC. Zero-server RPC for Python and Java.
http://github.com/pushyrpc/pushy
45 stars 18 forks source link

using hashlib precludes connecting to older Python interpreters #10

Closed axw closed 12 years ago

axw commented 12 years ago

Pushy was modified to use 'hashlib' instead of 'md5', to remove deprecation warnings. As older versions of Python do not have hashlib, the import should be guarded and a fallback to md5 provided.


Imported from Launchpad using lp2gh.

axw commented 12 years ago

(by axwalk) Imports of hashlib are not guarded in a try..except block, with the md5 module as a fallback.