A RetroSearch Logo

Home - News ( United States | United Kingdom | Italy | Germany ) - Football scores

Search Query:

Showing content from https://mail.python.org/pipermail/python-dev/2019-April/157006.html below:

[Python-Dev] Deprecating "instance method" class

[Python-Dev] Deprecating "instance method" class [Python-Dev] Deprecating "instance method" classJeroen Demeyer J.Demeyer at UGent.be
Sun Apr 7 03:15:57 EDT 2019
On 2019-04-07 09:48, Serhiy Storchaka wrote:
> total_ordering monkeypatches the decorated class. I'm planning to
> implement in C methods that implement __gt__ in terms of __lt__ etc.

Yes, I understood that. I'm just saying: if you want to make it fast, 
that's not the best solution. The fastest would be to implement 
tp_richcompare from scratch (instead of relying on slot_tp_richcompare 
dispatching to methods).
More information about the Python-Dev mailing list

RetroSearch is an open source project built by @garambo | Open a GitHub Issue

Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo

HTML: 3.2 | Encoding: UTF-8 | Version: 0.7.4