On Jul 30, 2006, at 9:03 AM, Max Ischenko wrote:
> > Alberto, > > The thing is, in 0.9a6 if options parameter is callable AND > validator is passed in everything worked fine. Now, in 0.9a8 it may > give an error because options are actually called in ctor thanks to > ParamDescriptor. Yep, the descriptor calls the callable *every* time the attribute is accessed > > I noticed you have just fixed it in 1692, thanks! Cool! I didn't mean to... just found that I had introduced a bug when extending the option tuples to support options like ["foo", "bar", "whee"] and fixed it. Now I see that you were referring to this and not the identity/options problem I mentioned... FYI, the problem was that when options were being extended in the constructor the callable was called and the result was rebound back hence preventing any further calling from taking place. Anyway, I still think the guessing should be sorted out... Alberto --~--~---------~--~----~------------~-------~--~----~ 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 -~----------~----~----~----~------~----~------~--~---
