Why does the function have to be unnamed? you can easly nest function definitions and refer to them. IIRC the lambda form is probably going to be removed at some point, as it is not needed:
def outerfn():
dostuff()
def inner(x,y):
out = (x^y)
print out
return out
my_local_function = inner
my_local_function(3,4)
outerfn()
--
http://mail.python.org/mailman/listinfo/python-list
