[Patches] [ python-Patches-1399309 ] ConfigParser to save with order
SourceForge.net
noreply at sourceforge.net
Thu Jan 12 22:59:02 CET 2006
Patches item #1399309, was opened at 2006-01-08 07:11
Message generated for change (Comment added) made by anadelonbrin
You can respond by visiting:
https://sourceforge.net/tracker/?func=detail&atid=305470&aid=1399309&group_id=5470
Please note that this message will contain a full copy of the comment thread,
including the initial issue submission, for this request,
not just the latest update.
Category: Library (Lib)
Group: Python 2.5
Status: Open
Resolution: None
Priority: 5
Submitted By: Facundo Batista (facundobatista)
Assigned to: Nobody/Anonymous (nobody)
Summary: ConfigParser to save with order
Initial Comment:
ConfigParser saves the data in a not-predefined order.
This is because it keeps, internally, the information
in dictionaries.
This patch 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.
----------------------------------------------------------------------
Comment By: Tony Meyer (anadelonbrin)
Date: 2006-01-13 10:59
Message:
Logged In: YES
user_id=552329
Note that the patch is backwards (new old instead of old new).
IMO the 'surgical' editing that has been proposed many times
on python-dev and c.l.p would be superior to this. IOW, the
original order of the file should be retained (any new
entries could be added alphabetically, as here).
----------------------------------------------------------------------
You can respond by visiting:
https://sourceforge.net/tracker/?func=detail&atid=305470&aid=1399309&group_id=5470
More information about the Patches
mailing list