Cedric Brandily 792afbfab2 Fix has_registry_receivers when super.__new__ is object.__new__
This change updates has_registry_receivers implementation in order to
call super.__new__ without args, kwargs parameters if super.__new__ is
object.__new__ (which forbids args, kwargs parameters). Without this fix
decorated class instantiation with positional or/and keyword arguments
fail.

Change-Id: I25880f6142f294fdde9db7f453d5e649c79029d0
2017-03-01 20:39:32 +01:00
..
2016-08-26 22:16:06 -04:00