◐ Shell
clean mode source ↗

Message 209060 - Python tracker

> Note that tp_new is a static method, not a class method (the type
> creation machinery takes care of passing in the right class rather
> than the descriptor machinery)

I admit I didn't know that.

But from a practical perspective, surely you agree that tp_new walks and quacks like a class method?  That I, as an author of an extension type, should think of it as such?