This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

Author Michael.Müller
Recipients Michael.Müller, lukasz.langa
Date 2014-03-16.12:19:11
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1394972351.44.0.319802284218.issue20943@psf.upfronthosting.co.za>
In-reply-to
Content
It would be nice to have a 'getDict' function in the configparser lib.

Adding that function would be simply

def getDict(self, *args):
        return dict([entry for entry in self.items(*args)])

inside the RawConfigParser class next to the other get* functions.
History
Date User Action Args
2014-03-16 12:19:11Michael.Müllersetrecipients: + Michael.Müller, lukasz.langa
2014-03-16 12:19:11Michael.Müllersetmessageid: <1394972351.44.0.319802284218.issue20943@psf.upfronthosting.co.za>
2014-03-16 12:19:11Michael.Müllerlinkissue20943 messages
2014-03-16 12:19:11Michael.Müllercreate