8000 __new__ method of a class should be implicitly static · Issue #622 · micropython/micropython · GitHub
[go: up one dir, main page]

Skip to content

__new__ method of a class should be implicitly static #622

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

Closed
pfalcon opened this issue May 20, 2014 · 1 comment
Closed

__new__ method of a class should be implicitly static #622

pfalcon opened this issue May 20, 2014 · 1 comment

Comments

@pfalcon
Copy link
Contributor
pfalcon commented May 20, 2014

Reference: https://docs.python.org/3.4/reference/datamodel.html#object.__new__

cls. __new__() is a static method (special-cased so you need not declare it as such)

As we didn't have __new__ qstr until recently at all, I'm sure this is not handled in the compiler. @dpgeorge, if you would have quick idea how to fix this, please do.

dpgeorge added a commit that referenced this issue Jul 5, 2014
@dpgeorge
Copy link
Member
dpgeorge commented Jul 5, 2014

Fixed.

@dpgeorge dpgeorge closed this as completed Jul 5, 2014
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants
0