Hi, On Mon, May 21, 2012 at 10:12:16PM +0200, Vincent Delecroix wrote: > > When there are several names, I think we should return the one that > > agrees with the name that was given by the user. > > I really don't know how we can obtain the name used inside the > function. We should somewhat access the stack of calls of the console > (as the calls import_statement(CachedFunction) and > import_statements(cached_function) are semantically the same). What > you would expect from the following non-examples
I don't have time to investigate nor to read the full discussion... So I'm just trowing some random idea hoping this helps. Did someone had a look at file:///home/florent/doc/Python-Docs/python-docs-html/library/inspect.html in partcular function -> func_code -> co_name Florent -- You received this message because you are subscribed to the Google Groups "sage-combinat-devel" group. To post to this group, send email to sage-combinat-devel@googlegroups.com. To unsubscribe from this group, send email to sage-combinat-devel+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/sage-combinat-devel?hl=en.