<div dir="ltr"><div dir="ltr"><br></div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">On Fri, Apr 5, 2019 at 11:30 AM Jeroen Demeyer <<a href="mailto:J.Demeyer@ugent.be">J.Demeyer@ugent.be</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">On 2019-04-05 17:46, Guido van Rossum wrote:<br>
> This API is doing no harm, it's not a maintenance<br>
> burden<br>
<br>
What if the following happens?<br>
<br>
1. For some reason (possibly because of this thread), people discover <br>
instancemethod and start using it.<br>
<br>
2. People realize that it's slow.<br>
<br>
3. It needs to be made more efficient, causing new code bloat and <br>
maintenance burden.<br></blockquote><div><br></div><div>Then we can consider improving the documentation if there are performance implications. But the point is if there's code out there already using it without issue then ripping it out of the C API is painful since we don't have nearly as good of a deprecation setup as we do in Python code. Not everything about the C APi is about performance.</div><div><br></div><div>-Brett<br></div><div> </div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">
<br>
> clearly *some* folks have a use for it.<br>
<br>
I'm not convinced.</blockquote></div><div class="gmail_quote"><br></div><div class="gmail_quote">OK, but as of right now others like me are convinced and we typically err on the side of backwards-compatibility in these kinds of situations.<br></div><div class="gmail_quote"><br><div>-Brett<br></div><div> </div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">I don't think that instancemethod is the right <br>
solution for functools.total_ordering for example.<br>
<br>
<br>
Jeroen.<br>
_______________________________________________<br>
Python-Dev mailing list<br>
<a href="mailto:Python-Dev@python.org" target="_blank">Python-Dev@python.org</a><br>
<a href="https://mail.python.org/mailman/listinfo/python-dev" rel="noreferrer" target="_blank">https://mail.python.org/mailman/listinfo/python-dev</a><br>
Unsubscribe: <a href="https://mail.python.org/mailman/options/python-dev/brett%40python.org" rel="noreferrer" target="_blank">https://mail.python.org/mailman/options/python-dev/brett%40python.org</a><br>
</blockquote></div></div>