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-July/081495.html below:

[Python-Dev] fileobj.read(float): warning or error?

[Python-Dev] fileobj.read(float): warning or error? [Python-Dev] fileobj.read(float): warning or error?"Martin v. Löwis" martin at v.loewis.de
Tue Jul 22 07:44:00 CEST 2008
Alex Martelli wrote:
> I thought that's what we had __index__ for -- reject arguments that
> don't SMOOTHLY turn into integers when an integer is actually
> required!

Sure. However, using that would create an incompatibility, that's why
you only get a warning when it falls back to not using __index__.

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