[Ironpython-users] IronPython, Daily Digest 9/30/2012
no_reply at codeplex.com
no_reply at codeplex.com
Mon Oct 1 13:06:29 CEST 2012
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.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.python.org/pipermail/ironpython-users/attachments/20121001/6c31d507/attachment.html>
More information about the Ironpython-users
mailing list