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
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
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
Changes by Dwayne Bailey :
--
nosy: +dwayne
___
Python tracker
<http://bugs.python.org/issue2504>
___
___
Python-bugs-list mailing list
Unsubscribe:
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
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