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/2002-June/025755.html below:

[Python-Dev] Indexing builtin sequences with objects which supply __int__

[Python-Dev] Indexing builtin sequences with objects which supply __int__ [Python-Dev] Indexing builtin sequences with objects which supply __int__Martin v. Loewis martin@v.loewis.de
21 Jun 2002 10:36:14 +0200
Todd Miller <jmiller@stsci.edu> writes:

> That makes sense.    What if we specifically excluded Float objects
> from the conversion?   Are there any types that need to be excluded?
> If there's a chance of getting a patch for this accepted,  STSCI is
> willing to do the work.

Perhaps an __index__ conversion could work?

Regards,
Martin




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