>>> def f():f()
>>> f()Traceback: File "<pyshell#2>", line 1, in <module> f()RuntimeError: maximum recursion depth exceededTraced it down to traceback.py in print_list and added if len(extracted_list)>9 and extracted_list[8]==extracted_list[9]: _print(file,' File "%s", line %d, in %s' % (extracted_list[8][0],extracted_list[8][1],extracted_list[8][2])) if extracted_list[8][3]:_print(file, ' %s' % extracted_list[8][3].strip()) returnThus saving myself from thousands of lines of repeated error messages (really, it just doesn't make sense)I think I'll go try my hand at the most esoteric of all languages again, ASMIDLE mod: Maybe I don't want an error message for every recursive call that broke the stack
Posted by s on Nov. 2, 2008, 6:09 p.m.