[New-bugs-announce] [issue20943] configparser - add 'getDict' function

Michael Müller report at bugs.python.org
Sun Mar 16 13:19:11 CET 2014


New submission from Michael Müller:

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.

----------
components: Library (Lib)
messages: 213721
nosy: Michael.Müller, lukasz.langa
priority: normal
severity: normal
status: open
title: configparser - add 'getDict' function
type: enhancement
versions: Python 3.3

_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue20943>
_______________________________________


More information about the New-bugs-announce mailing list