Boris Borcic wrote:
def inst.bar(...) : ... def fn[k](...) : ...should be similarly permitted. Has this ever been discussed ?
Yes, but there didn't seem to be much interest in the idea. Which is disappointing, because it would be ideal for setting up function tables and such like. One small problem is that there would be no sensible name to give the function object, but that's no worse than what you get when using a lambda. -- Greg _______________________________________________ Python-Dev mailing list [email protected] http://mail.python.org/mailman/listinfo/python-dev Unsubscribe: http://mail.python.org/mailman/options/python-dev/archive%40mail-archive.com
