Fix warnings about object.__init__() signature.
Two (test_array and test_descr) were bug IMO; the third (copy_reg)
is a work-around which recognizes that object.__init__() doesn't do
anything.
diff --git a/Lib/copy_reg.py b/Lib/copy_reg.py
index f87c50f..0dd94cf 100644
--- a/Lib/copy_reg.py
+++ b/Lib/copy_reg.py
@@ -48,7 +48,8 @@
obj = object.__new__(cls)
else:
obj = base.__new__(cls, state)
- base.__init__(obj, state)
+ if base.__init__ != object.__init__:
+ base.__init__(obj, state)
return obj
_HEAPTYPE = 1<<9