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/2008-November/083544.html below:

[Python-Dev] n.numbits: method or property?

[Python-Dev] n.numbits: method or property? [Python-Dev] n.numbits: method or property?Antoine Pitrou solipsis at pitrou.net
Wed Nov 12 17:11:36 CET 2008
Mark Dickinson <dickinsm <at> gmail.com> writes:
> 
> Right:  numbits is only a natural property of a *binary* integer.
> 
> On the other hand, I can't realistically see Python ever adopting a
> non power-of-two based implementation.

No, but Python is duck-typed and alternate integer classes could adopt such an
implementation while trying to respect the Python-level long API.

cheers

Antoine.


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