Here is the CPython behavior:

Python 2.4.2 (#67, Sep 28 2005, 12:41:11) [MSC v.1310 32 bit (Intel)] on win32
Type "help", "copyright", "credits" or "license" for more information.
>>> class myTuple(tuple):
...   pass
...
>>> t = myTuple()
>>> t
()
>>>

Here is the IronPython behavior:

IronPython 1.0.2258 (Beta) on .NET 2.0.50727.42
Copyright (c) Microsoft Corporation. All rights reserved.
>>> class myTuple(tuple):
...     pass
...
...
>>> t = myTuple()
Traceback (most recent call last):
  File , line 0, in input##99
  File , line 0, in PythonNew##76
TypeError: myTuple() takes exactly 2 arguments (1 given)
>>>
_______________________________________________
users mailing list
users@lists.ironpython.com
http://lists.ironpython.com/listinfo.cgi/users-ironpython.com

Reply via email to