Hi ironpython,

Here's your Daily Digest of new issues for project "IronPython".

In today's digest:ISSUES

1. [New issue] object.__new__() takes no parameters - unexcpected __init__ 
considered

----------------------------------------------

ISSUES

1. [New issue] object.__new__() takes no parameters - unexcpected __init__ 
considered
http://ironpython.codeplex.com/workitem/33185
User paweljasinski has proposed the issue:

"I have spotted difference between IronPython and cpython. It has to do with 
calling of the __init__ in superclasses when multiple inheritance is used. In 
the test case below IronPython insist on calling __init__ where cpython doesn't.

class OldStyle:
    def __init__(self, arg):
        print "OldStyle"

class NewStyleNoInit1(OldStyle,object):
    pass

NewStyleNoInit1(0)

IronPython prints:
Traceback (most recent call last):
  File "xx.py", line 8, in <module>
TypeError: object.__new__() takes no parameters

CPython prints:
OldStyle"
----------------------------------------------



----------------------------------------------
You are receiving this email because you subscribed to notifications on 
CodePlex.

To report a bug, request a feature, or add a comment, visit IronPython Issue 
Tracker. You can unsubscribe or change your issue notification settings on 
CodePlex.com.
_______________________________________________
Ironpython-users mailing list
Ironpython-users@python.org
http://mail.python.org/mailman/listinfo/ironpython-users

Reply via email to