Hello!
The current code from the master branch fails to work with classes that have the abc.ABCMeta metaclass.
MWE:
class Q(object):
__metaclass__ = abc.ABCMeta
q = Q()
cloudpickle.loads(cloudpickle.dumps(q))
With python 2.7.3 this yields:
object.__new__(getset_descriptor) is not safe, use getset_descriptor.__new__()
With python 2.7.13:
TypeError: can't pickle wrapper_descriptor objects