Author rhettinger
Recipients
Date 2007-04-02.23:12:09
SpamBayes Score
Marked as misclassified
Message-id
In-reply-to
Content
FWIW, this change will be somewhat pervasive and will affect anything inheriting object.__init__ including immutable builtins (like tuple, float, and frozenset) as well as user-defined new-style classes that do not define their own __init__ method (perhaps using new instead).  Here are the warnings being thrown-off by the current test suite:

/py26/Lib/test/test_array.py:731: DeprecationWarning: object.__init__() takes no parameters
  array.array.__init__(self, 'c', s)

/py26/Lib/copy_reg.py:51: DeprecationWarning: object.__init__() takes no parameters
  base.__init__(obj, state)

/py26/Lib/test/test_descr.py:2308: DeprecationWarning: object.__init__() takes no parameters
  float.__init__(self, value)
History
Date User Action Args
2007-08-23 14:52:37adminlinkissue1683368 messages
2007-08-23 14:52:37admincreate