On Fri, 2007-01-05 at 17:42 +0100, Dirk Meyer wrote: > > The problem with this is there's no way to specify "foo_bar-baz" > > No, you can have everything. But in a config file foo-bar looks > bettwen than foo_bar (IMHO). But you can't access config.foo-bar, so > we need this.
But doesn't this mean you can't have a dict key (which you can access as an arbitrary string) be specified as foo_bar-baz? i.e. if from the app I do: config.somedict['foo_bar-baz'] = 42 Won't it be written to the config file as: config.somedict[foo-bar-baz] = 42 ? This would be rather confusing when you subsequently go to load in the config file and config.somedict['foo_bar-baz'] no longer exists. Or does this change not affect dictionary keys and only config names that will eventually be accessed as python variables? (It looked like it would affect dict keys too.) ------------------------------------------------------------------------- Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT & business topics through brief surveys - and earn cash http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV _______________________________________________ Freevo-devel mailing list Freevo-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/freevo-devel