[Python-Dev] long method still exists in Python 3.x (original) (raw)
Benjamin Peterson benjamin at python.org
Sun Jan 11 20:43:41 CET 2009
- Previous message: [Python-Dev] __long__ method still exists in Python 3.x
- Next message: [Python-Dev] __long__ method still exists in Python 3.x
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
On Sun, Jan 11, 2009 at 12:40 PM, "Martin v. Löwis" <martin at v.loewis.de> wrote:
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 nblong entry to 0 in all three cases)? There are, apparently, still callers of the nblong slot, so I would be cautious.
We should remove all usage of it and rename it to nb_reserved.
-- Regards, Benjamin
- Previous message: [Python-Dev] __long__ method still exists in Python 3.x
- Next message: [Python-Dev] __long__ method still exists in Python 3.x
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]