Graphing problems

Josiah Carlson jcarlson at nospam.uci.edu
Fri Mar 19 12:43:15 EST 2004


>>Thank Guido, http://www.python.org/doc/essays/graphs.html
> 
> I figured it out...I needed to use sys.setrecursionlimit. D'oh. :)

You may eventually run into a case where setting the recursion limit 
still doesn't help you (you start getting C stack overflows).  At this 
point, a non-recursive version of the shortest paths algorithm would 
probably help you.

  - Josiah



More information about the Python-list mailing list