> Yes, this is a more universal problem in the UI: I object. It is a *very* simple mistake that has a *very* simple solution:
Any function that takes **kwargs as argument must: 1) Remove from kwargs all values it understands 2) Forward the remaining content of kwargs to a subfunction There is no way on earth that stuff will get lost if you use this very simple logic. Any additional keyword will raise an exception eventually. > It would be nice if we can find an easy to use, low (zero?) overhead way of > getting better checking on unknown keywords. I don't have a solution (python > definitely seems to invite the lax way we're doing it) I propose the pattern above, which was used successfully to make the graph plot routines somewhat trustworthy (at least from this point of view). Nathann -- 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 https://groups.google.com/group/sage-devel. For more options, visit https://groups.google.com/d/optout.