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
New submission from Michael Müller:
When having non ascii chars in the header of an translation file (xxx.po) the
following error will be raised:
File D:\Python33\lib\gettext.py, line 410, in translation
t = _translations.setdefault(key, class_(fp))
File D:\Python33\lib\gettext.py
Michael Müller added the comment:
Used encoding is utf-8.
Testfile I used added to this comment.
Second about the PO-Revision-Date:
It should be human readable. It's unimportant for the program itself - it's
used for the translator of the xxx.po file.
Normally the whole header could be removed