Join GitHub today
GitHub is home to over 28 million developers working together to host and review code, manage projects, and build software together.Sign up
Combining @staticmethod and @abc.abstractmethod fails at runtime #2651
I'm trying to convert one of my Python modules using Cython. Cython successfully generates a .pyd file, but when I try to import it, it fails:
The same error occurs on a different Python version on Linux with a Cython-generated .so file:
My module contains a method which is both abstract and static:
According to https://docs.python.org/3/library/abc.html#abc.abstractmethod this is legal, as long as the
Hint: In pure Python, a "