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 <[email protected]>
<http://bugs.python.org/issue20943>
_______________________________________
_______________________________________________
Python-bugs-list mailing list
Unsubscribe:
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com