nick coghlan uytankmfgmailcom martin v löwis wrote normal way consume range object item item normal way loop advanced way invoking method object ie emulating loop first create iterator range object cant consume range always contain numbers like cant consume list r range10000000000000000000 r0 traceback recent call last file line 1 overflowerror python int large convert c ssize_t bug right id call implementation limitation looks bit suspicious definitely worth raising tracker issue could understand must fit ssize_t limitation index passed range object conceivably even value returned although would little odd isnt happening example index passed zero value getting returned zero overflowerror coming missing pyerr_clear call range code somewhere range code invoking different pynumber_ call conversion cheers nick nick coghlan uytankmfgmailcom brisbane australia httpwwwboredomandlazinessorg _______________________________________________ python3000 mailing list smsbmo9552pythonorg httpmailpythonorgmailmanlistinfopython3000 unsubscribe httpmailpythonorgmailmanoptionspython3000python300040tangomucom fri 08 aug 2008 103925 1000 python3000 using range