[Python-Dev] Deprecating "instance method" class

Jeroen Demeyer J.Demeyer at UGent.be
Fri Apr 5 07:27:17 EDT 2019


On 2019-04-05 14:10, Serhiy Storchaka wrote:
> it can be used to
> implement accelerated versions of separate methods instead of the whole
> class.

Could you elaborate? I'm curious what you mean.

> I'm going to use it to further optimize total_ordering.

There are so many ways in which total_ordering is inefficient. If you 
really want it to be efficient, you should just implement it in C.


More information about the Python-Dev mailing list