-
Notifications
You must be signed in to change notification settings - Fork 1.2k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Can't call __new__ directly to create instances. #126
Comments
This works now! I do not know what fixed it, but it works :) |
builtins.rs:
|
Uh... no, I'm wrong. That's only during type creation, not object creation. The correct implementation of |
In theory directly calling |
@cthulahoops this issue can now be closed, right? |
Yes, I think this is all fixed now. |
This should work, but doesn't:
I think
type.__new__
gets called instead ofint.__new__
, given this:I was pretty sure there was a problem with getattribute, but I've been waiting for a good example to fix.
The text was updated successfully, but these errors were encountered: