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

[Python-Dev] Bad interaction of __index__ and sequence repeat

[Python-Dev] Bad interaction of __index__ and sequence repeat [Python-Dev] Bad interaction of __index__ and sequence repeat"Martin v. Löwis" martin at v.loewis.de
Sat Jul 29 00:44:46 CEST 2006
Travis Oliphant wrote:
> I say it's a bug that should be fixed.  Don't clear the error, raise it.

Several people have said this, but I don't think it can work.

If you raise an OverflowError in __index__, the slicing code cannot know
whether this meant as overflow or underflow (in a signed sense).

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