On 25 Feb., 23:32, Jorge Vargas <[email protected]> wrote:
> On Wed, Feb 25, 2009 at 5:01 PM, Christoph Zwerschke <[email protected]> wrote:
> > Jorge Vargas schrieb:
> >> I think we could somehow make the values auto transform, maybe call
> >> paste's asbool, etc automagically?
>
> > Problematic. To be consequent, we will then have to evaluate all values
> > (ints, lists) and require strings to be quoted. I also don't like the
> > thought that config values will need to be evaluated *every* time you're
> > accessing them. If you use ConfigObj, they are only evaluated once.
>
> for the record I was talking about a change in tg/configuration.py
> therefore it will be a load ones thing.

Ok, that would be nice. It's also exactly what CherryPy is doing: Use
ConfigParser, but evaluate all values once after loading a config
file. I think that's the way to go, and we would also be more
compatible with TG1 again.
--~--~---------~--~----~------------~-------~--~----~
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?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to