Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > comp.lang.python > #21983

Re: configobj validation

Date 2012-03-21 13:06 +0000
From Andrea Crotti <andrea.crotti.0@gmail.com>
Subject Re: configobj validation
References <4F672DBF.5060506@gmail.com> <mailman.812.1332168266.3037.python-list@python.org> <m2fwd289mf.fsf@web.de>
Newsgroups comp.lang.python
Message-ID <mailman.859.1332335169.3037.python-list@python.org> (permalink)

Show all headers | View raw


On 03/21/2012 11:40 AM, Diez B. Roggisch wrote:
> Andrea Crotti<andrea.crotti.0@gmail.com>  writes:
>
> It works - so why do you bother? And I'm not sure about the above code -
> AFAIK, validation is a two-step thing:
>
> http://www.voidspace.org.uk/python/articles/configobj.shtml#validation
>
> Diez

I don't agree, if you write code that is supposed to work with Python3, 
using a library which is not
developed and will probably never support Python3 is quite a stupid idea ;)

Any other validation mechanism that can be plugged in ConfigParser for 
example?

 From what I've understood from the doc and what I remembered I thought 
that validation is automatically
done when passing the configspec, but I'll check if the two steps work..

Back to comp.lang.python | Previous | NextPrevious in thread | Find similar | Unroll thread


Thread

Re: configobj validation Andrea Crotti <andrea.crotti.0@gmail.com> - 2012-03-19 14:44 +0000
  Re: configobj validation deets@web.de (Diez B. Roggisch) - 2012-03-21 12:40 +0100
    Re: configobj validation Andrea Crotti <andrea.crotti.0@gmail.com> - 2012-03-21 13:06 +0000

csiph-web