[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Python-Dev] Deprecating "instance method" class

On 2019-04-05 17:46, Guido van Rossum wrote:
> This API is doing no harm, it's not a maintenance
> burden

What if the following happens?

1. For some reason (possibly because of this thread), people discover 
instancemethod and start using it.

2. People realize that it's slow.

3. It needs to be made more efficient, causing new code bloat and 
maintenance burden.

> clearly *some* folks have a use for it.

I'm not convinced. I don't think that instancemethod is the right 
solution for functools.total_ordering for example.