[Python-Dev] ConfigParser shootout, preliminary entry

Carlos Ribeiro carribeiro at gmail.com
Mon Oct 18 22:45:16 CEST 2004


On Mon, 18 Oct 2004 13:20:51 -0700, Josiah Carlson <jcarlson at uci.edu> wrote:
> 
> > class MyContainer(Container):
> >      p = Value(2)
> >      y = Value(0)
> >      t = Value(-1)
> >      h = Value(20)
> >      o = Value('x')
> >      n = Value('z')
> 
> I missed that.
> 
> I am sure that Carlos has even made TypedAttr into factories that
> produce properties.
> 
> Very nice; I'm sorry I didn't see it earlier.

Yes, that's it. The GenericTemplate module handles the template class
and the attribute implementation (including ordering and type
checking). The inifile reader handles only the ini configuration
details.

-- 
Carlos Ribeiro
Consultoria em Projetos
blog: http://rascunhosrotos.blogspot.com
blog: http://pythonnotes.blogspot.com
mail: carribeiro at gmail.com
mail: carribeiro at yahoo.com



More information about the Python-list mailing list