I'm looking for a standard function that does this:
def Forever(v):
while True:
yield v
It seems so trivial I can't believe there isn't a standard version.
For that matter anyone know of a good link to a list of all the standard generator functions?