Skip to content


Constructor arguments not passed to __new__ #302

pyjsorg opened this Issue · 2 comments

1 participant


I'm adding a libtest and a patch for this bug.

The issue is:

class OtherClass3(object):
def new(cls, x, y):
val =
val.x, val.y = x,y
return val

o = Otherclass3(1,2)
o.y #should be 2, but is undefined

Original issue: (June 09, 2010 07:45:12)


From on June 09, 2010 08:22:21:
proposed fix in homunq/bug/pyjs.js/414-superclass-__new_ branch


From on June 18, 2010 18:27:43:
does it work? :)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Something went wrong with that request. Please try again.