Issuse using the staticmethod wrapper to work around Python 2 __new__ unbound method issue
@@ -19,7 +19,7 @@ def singleton(cls):
it.__init_original__(*args, **kw)
return it
- cls.__new__ = singleton_new
+ cls.__new__ = staticmethod(singleton_new)
cls.__init_original__ = cls.__init__
cls.__init__ = object.__init__
