[Python-Dev] ConfigParser to save with order (original) (raw)
Facundo Batista facundobatista at gmail.com
Sat Jan 7 19:17:15 CET 2006
- Previous message: [Python-Dev] [Doc-SIG] that library reference, again
- Next message: [Python-Dev] ConfigParser to save with order
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
ConfigParser saves the data in a not-predefined order. This is because it keeps, internally, the information in dictionaries.
I opened a patch in SF 1399309 that orders the info to be saved in the file through the ConfigParser write() method.
This patch does not let the user to specify the order, but allows to predict the order in which it'll be saved.
There's another patch, the 1371075, that allows to specify the order through an "ordered dict".
What do we want ConfigParser to do?
Regards,
. Facundo
Blog: http://www.taniquetil.com.ar/plog/ PyAr: http://www.python.org/ar/
- Previous message: [Python-Dev] [Doc-SIG] that library reference, again
- Next message: [Python-Dev] ConfigParser to save with order
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]