Joshua Landau wrote: > On 3 July 2013 23:19, Joshua Landau <joshua.landau...@gmail.com> wrote: >> If you don't want to do that, you'd need to use introspection of a >> remarkably hacky sort. If you want that, well, it'll take a mo. > > After some effort I'm pretty confident that the hacky way is impossible.
Well, technically it's func.func_closure[0].cell_contents.__name__ but of course you cannot know that for the general case. -- http://mail.python.org/mailman/listinfo/python-list