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/2003-February/033496.html below:

[Python-Dev] various unix platform build/test issues

[Python-Dev] various unix platform build/test issues [Python-Dev] various unix platform build/test issuesNeil Schemenauer nas@python.ca
Tue, 18 Feb 2003 08:24:39 -0800
Guido van Rossum wrote:
> [Neal, later]
> > The tp_as_number check in default_3way_compare pretty bogus though,
> > IMHO.  With the new type changes a lot of types have a tp_as_number
> > slot.  I think the compare code needs to change.
> 
> Yes, but how?

Maybe PyNumber_Check should check for (tp_as_number and (nb_int or
nb_float)) and then default_3way_compare should use it instead of
checking for tp_as_number. 

  Neil



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