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
Implement PEP-487 #2781
class ABC: def __init_subclass__(cls): print(cls) class SubClass(ABC): pass
If you run this with python directly, it gives:
But after I compile it with cython, it gives:
How to solve it?
The relevant bits of PEP-487 need to get implemented. Specifically,
I assume you were using Py3.6 or later for your tests, right?