I really prefer using named vars whenever possible as it feels much more Pythonic and makes the code easier to read. You know what your functions are expecting just by looking at the def.
One place I have found that you really need to consider using **kw (besides the mega 50 input forms and widgets people have mentioned) is when you are exposing a public API. There's nothing worse than sending back a "500 Server Error" in production mode when someone using the API doesn't supply a required parameter. It's much nicer to use **kw and send back a relevant error message. Jeff --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "TurboGears" group. To post to this group, send email to [email protected] To unsubscribe from this group, send email to [EMAIL PROTECTED] For more options, visit this group at http://groups.google.com/group/turbogears -~----------~----~----~----~------~----~------~--~---

