Re: [Python-Dev] integer subclass range behavior

2007-12-19 Thread Guido van Rossum
Can you submit a bug at bugs.python.org? The minimal example I found: >>> class a(int): pass ... >>> for i in range(0, a(5)): pass ... Traceback (most recent call last): File "", line 1, in SystemError: Objects/longobject.c:400: bad argument to internal function >>> On Dec 19, 2007 5:38 PM,

[Python-Dev] integer subclass range behavior

2007-12-19 Thread Joseph Armbruster
All, I posted this up to comp.lang.python earlier today and asked a few questions around IRC. The general consensus appeared to be that this was a bug. Before opening up an issue on it, I wanted to run it by this list first (just in case) Here is a copy / paste from comp.lang.python: URL: