[Python-Dev] About [].append == [].append

Serhiy Storchaka storchaka at gmail.com
Sat Jun 23 04:54:47 EDT 2018


23.06.18 10:27, Jeroen Demeyer пише:
> On 2018-06-23 03:50, Steven D'Aprano wrote:
>> I think it is more important that builtin methods and Python methods
>> behave the same.
> 
> +1
> 
> This inconsistency is the *real* problem here. It's one little extra 
> complication to merging those classes (which was proposed in PEP 575, 
> 576 and 579).

+1 too. But I think the right solution should be opposite: reverting 
issue1350060 changes and making all methods equality be based on the 
identity of __self__.



More information about the Python-Dev mailing list