Kevin Dangoor wrote: > > Why do you need is_named = True? Can you just say "if widget.name"? >
After giving this a try I think the best thing we can do is using widget.name = "widget" by default and only on the Widget base otherwise we get some wrong behaviors here and there because we rely on name being always a string (giving it None doesn't work). Then we make is_named a property that checks if widget.name != "widget" to keep this logic only inside the widget class, this works right here, I will post a patch soon. Ciao Michele --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "TurboGears Trunk" 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-trunk -~----------~----~----~----~------~----~------~--~---
