Re: Persuading ConfigParser to give me the section elements in the same order as the file

2008-09-11 Thread geoffbache
Hi Matt, Have a look at this:http://www.python.org/dev/peps/pep-0372/ Thanks, that was very useful. Good to know these things are being considered. Looking at the config parser module, it looks like there are only a couple of places where {} is used. I would create a mixin class to

Persuading ConfigParser to give me the section elements in the same order as the file

2008-09-10 Thread geoffbache
Hi all, I recently needed to parse a file that was perfect for ConfigParser apart from one thing: the elements in the sections, although definitions, could in some cases clash with each other and therefore it was important to be able to retrieve them in the same order as they appeared in the

Re: Persuading ConfigParser to give me the section elements in the same order as the file

2008-09-10 Thread Matimus
On Sep 10, 1:52 pm, geoffbache [EMAIL PROTECTED] wrote: Hi all, I recently needed to parse a file that was perfect for ConfigParser apart from one thing: the elements in the sections, although definitions, could in some cases clash with each other and therefore it was important to be able to