ConfigParser preserving file ordering

F

Frank Aune

Hello,

I use ConfigParser and actually quite like it, EXCEPT that it doesnt preserve
the section order of the original config file when writing a new. This
behaviour is hopeless IMO, and I've been looking for alternatives.

I've been reading the interesting discussion on python-dev about improvements
to ConfigParser:

http://mail.python.org/pipermail/python-dev/2006-January/060138.html

I know there are patches to archieve what I want, but tbh I need functionality
present in the standard library or as a last option sub-class ConfigParser to
archieve ordering preservation.

Since the thread above is nearly two years old, I'm wondering if something has
happended in this department?

Thanks,
Frank
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

No members online now.

Forum statistics

Threads
473,764
Messages
2,569,564
Members
45,041
Latest member
RomeoFarnh

Latest Threads

Top