[issue7005] ConfigParser does not handle options without values

2010-08-26 Thread Dwayne Bailey
Dwayne Bailey 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 in our code. But interestingly I

[issue5214] Add KOI8-RU as a known encoding

2009-02-13 Thread Dwayne Bailey
Dwayne Bailey 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-ru/ which seems to

[issue5214] Add KOI8-RU as a known encoding

2009-02-10 Thread Dwayne Bailey
New submission from Dwayne Bailey : >>> u = unicode("bob", "KOI8-RU") Traceback (most recent call last): File "", line 1, in LookupError: unknown encoding: KOI8-RU This could be broadened to see that we support all encodings that are supported by

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

2009-01-11 Thread Dwayne Bailey
Changes by Dwayne Bailey : -- nosy: +dwayne ___ Python tracker <http://bugs.python.org/issue2504> ___ ___ Python-bugs-list mailing list Unsubscribe:

[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_plural

[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