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/2004-August/047428.html below:

[Python-Dev] Unifying Long Integers and Integers: baseint

[Python-Dev] Unifying Long Integers and Integers: baseint [Python-Dev] Unifying Long Integers and Integers: baseintGuido van Rossum guido at python.org
Mon Aug 9 17:47:10 CEST 2004
> Is there a plan for implementing a base class for int and long (like 
> basestring for str and unicode):
> 
>  >>> issubclass(int, baseint) and issubclass(long, baseint)
> True
> 
> ?

I think this would be a good idea; maybe the name should be
baseinteger?

I think it's been suggested before, and can't remember why it wasn't
implemented -- perhaps the use cases aren't as compelling as for
basestring?

--Guido van Rossum (home page: http://www.python.org/~guido/)
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