> > Dead right ! Is there any reason why gathering this semantic information > requires this decorator to wrap the function in a combinatorial map ? Can't > the information be gathered wherever we need it *without* modifying the > actual function ? You could do whatever you need with a decorator that, > when applied to a function f with some flags, stores a copy of this > function f and works with the flags while returning the original function > f, can't you ? > > This would make it less intrustive, and actually not intrusive at all ! > > Yes I've thought of that. I'm trying to find the best way of doing it. The decorator seems the best way to flag. Before returning the orignal function, I could store the "map" itself. But I would like to create the map objects only if needed, and this I'm not yet sure how to do.
-- You received this message because you are subscribed to the Google Groups "sage-devel" group. To unsubscribe from this group and stop receiving emails from it, send an email to sage-devel+unsubscr...@googlegroups.com. To post to this group, send email to sage-devel@googlegroups.com. Visit this group at http://groups.google.com/group/sage-devel. For more options, visit https://groups.google.com/d/optout.