New submission from David W. Lambert: http://forums.devshed.com/newreply.php?do=newreply&noquote=1&p=2838814
>>> class c(tuple): ... def __init__(s,a,b): ... tuple.__init__(s,a) ... self.b = b ... >>> c(tuple(),666) Traceback (most recent call last): File "<stdin>", line 1, in <module> TypeError: tuple() takes at most 1 argument (2 given) >>> ---------- components: Interpreter Core messages: 176928 nosy: LambertDW priority: normal severity: normal status: open title: subclass str fails type: behavior versions: Python 2.7, Python 3.2 _______________________________________ Python tracker <rep...@bugs.python.org> <http://bugs.python.org/issue16608> _______________________________________ _______________________________________________ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com