Why not just show the out-of-range index?
Neil Cerutti
horpner at yahoo.com
Thu Dec 7 10:22:56 EST 2006
On 2006-12-07, Tim Chase <python.list at tim.thechases.com> wrote:
>>> - because error messages are not debugging tools (better use unit
>>
>> Then what are they? Machine-generated poetry?
>
> >>> me.__cmp__(gruntbuggly['freddled'].micturations,
> bee[LURGID].gabbleblotchits[PLURDLED]) == 0
>
> Traceback (most recent call last):
> File "<stdin>", line 1, in ?
> VogonPoetryException: Bleem miserable venchit! Bleem forever
> mestinglish asunder frapt!
You should warn people before posting something that dangerous. I
would at least have had time to pull the babelfish out of my ear,
and so I could have avoided the nosebleed.
--
Neil Cerutti
More information about the Python-list
mailing list