dict() is a constructor you can use to convert any iterable object into a dictionary. cherrypy.session is an iterable class instance you can use to contain session variables that carry over across requests, rather than keeping track of stuff in variables in your root controller. I dump all my session-specific variables in there, and call dict() on it to convert this class into a dict. Naturally in a real-life example I would actually do something useful - assign new variables, etc., but this is just stripped down as an example. I've been doing this in my code for some time now and it hasn't given me problems before. So I don't think this is causing my problem, but wouldn't be averse if someone showed me additional evidence to the contrary.
--~--~---------~--~----~------------~-------~--~----~ 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?hl=en -~----------~----~----~----~------~----~------~--~---

