http://bugs.python.org/issue6499
gzip.GzipFile may not exist as a parent class
diff --git a/Lib/xmlrpclib.py b/Lib/xmlrpclib.py
index 57d0055..8ab7dca 100644
--- a/Lib/xmlrpclib.py
+++ b/Lib/xmlrpclib.py
@@ -1192,7 +1192,7 @@
# @param response A stream supporting a read() method
# @return a file-like object that the decoded data can be read() from
-class GzipDecodedResponse(gzip.GzipFile):
+class GzipDecodedResponse(gzip.GzipFile if gzip else object):
"""a file-like object to decode a response encoded with the gzip
method, as described in RFC 1952.
"""