kj wrote:
When coding C I have often found static local variables useful fordoing once-only run-time initializations.
If you want functions with state, use an object. That's what they're for. Don't muck with the internal representation of functions. John Nagle -- http://mail.python.org/mailman/listinfo/python-list