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/2009-January/085011.html below:

[Python-Dev] __long__ method still exists in Python 3.x

[Python-Dev] __long__ method still exists in Python 3.x [Python-Dev] __long__ method still exists in Python 3.x"Martin v. Löwis" martin at v.loewis.de
Sun Jan 11 19:40:47 CET 2009
> I noticed that the builtin numeric types (int, float, complex) all still
> have a __long__ method in 3.x.  Shouldn't this have disappeared as
> part of the int/long unification?  Is there any reason not to remove this
> (by setting the nb_long entry to 0 in all three cases)?

There are, apparently, still callers of the nb_long slot, so I would be
cautious.

Regards,
Martin
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