Skip to content
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

classmethod should fallback to always calling PyClassMethod_New #3660

merged 1 commit into from Jun 2, 2020


Copy link

@da-woods da-woods commented Jun 2, 2020

...instead of deciding for itself that the type is invalid

Fixes #3658

Instead of deciding for itself that the type is
@scoder scoder added this to the 3.0 milestone Jun 2, 2020
@scoder scoder merged commit 12ab8bc into cython:master Jun 2, 2020
Copy link

scoder commented Jun 2, 2020

Thanks, yeah, that seems right.

@da-woods da-woods deleted the classmethodfix branch June 2, 2020 19:08
@scoder scoder modified the milestones: 3.0, 0.29.20 Jun 4, 2020
scoder pushed a commit that referenced this pull request Jun 4, 2020
… of deciding for itself that the type is invalid. (GH-3660)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
None yet

Successfully merging this pull request may close these issues.

TypeError: Class-level classmethod() can only be called on a method_descriptor or instance method
2 participants