[issue20943] configparser - add 'getDict' function

2014-03-16 Thread Michael Müller
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

[issue19907] gettext - Non ascii chars in header

2013-12-06 Thread Michael Müller
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

[issue19907] gettext - Non ascii chars in header

2013-12-06 Thread Michael Müller
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