> > So basically if I want to write a long-running program in > > Python, it would make sense to code all functions that are > > likely to be called more than once as generators...
This was meant as a question. > If they need to resume their calculations from where they left off after the > last yield. Well, no, independently from that. Just to avoid to inital overhead of the function call. ? Sincerely, Wolfgang Keller -- http://mail.python.org/mailman/listinfo/python-list