Message31588
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)
|
|
Date |
User |
Action |
Args |
2007-08-23 14:52:37 | admin | link | issue1683368 messages |
2007-08-23 14:52:37 | admin | create | |
|