[issue7963] Misleading error message from object(arg)
Georg Brandl
report at bugs.python.org
Fri Feb 19 11:28:45 CET 2010
Georg Brandl <georg at python.org> added the comment:
The latter is no inconsistency; tuples are immutable, lists are not. Therefore, for lists, __init__ is the initializer, not __new__. In order not to duplicate argument checking, __new__ does nothing special with them.
----------
nosy: +georg.brandl
_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue7963>
_______________________________________
More information about the Python-bugs-list
mailing list