[issue7005] ConfigParser does not handle options without values

2010-08-26 Thread Dwayne Bailey
Dwayne Bailey dwayne+pythonb...@translate.org.za added the comment: This is causing a regression in our code. Previously when we write out our INI file for an entry that has a value of None we saw the following: value = None These are now stored as: value This is now causing a traceback

[issue5214] Add KOI8-RU as a known encoding

2009-02-13 Thread Dwayne Bailey
Dwayne Bailey dwayne+pythonb...@translate.org.za added the comment: @haypo: The encoding works and doesn't throw and error, my guess is that aliases should be updated to cover the variant namings of -R and -U. I also found glibc points to this reference http://cad.ntu-kpi.kiev.ua/multiling/koi8

[issue5214] Add KOI8-RU as a known encoding

2009-02-10 Thread Dwayne Bailey
New submission from Dwayne Bailey dwayne+pythonb...@translate.org.za: u = unicode(bob, KOI8-RU) Traceback (most recent call last): File stdin, line 1, in module LookupError: unknown encoding: KOI8-RU This could be broadened to see that we support all encodings that are supported by iconv

[issue2504] Add gettext.pgettext() and variants support

2009-01-11 Thread Dwayne Bailey
Changes by Dwayne Bailey dwayne+pythonb...@translate.org.za: -- nosy: +dwayne ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue2504 ___ ___ Python

[issue4391] optparse: use proper gettext plurals forms

2008-11-22 Thread Dwayne Bailey
New submission from Dwayne Bailey [EMAIL PROTECTED]: The following code in optparse: if len(rargs) nargs: if nargs == 1: self.error(_(%s option requires an argument) % opt) else: self.error(_(%s option requires

[issue4391] optparse: use proper gettext plurals forms

2008-11-22 Thread Dwayne Bailey
Dwayne Bailey [EMAIL PROTECTED] added the comment: Mmm some problems with my head late at night. This patch sorts things out and makes sure strings can be extracted by xgettext Added file: http://bugs.python.org/file12108/optparse_proper_gettext_plurals.diff