El jue, 28-02-2013 a las 19:11 +0900, Daiki Ueno escribió:
> Hi,
>
> I've rebased the Python 3 braced format patch[1] and pushed it to
> 'python-brace-format' branch:
> http://git.savannah.gnu.org/cgit/gettext.git/log/?h=python-brace-format
> so it can be easily tested.
>
Great. Test suite only marks me FAIL this one:
"""
Backtrace:
In ice-9/boot-9.scm:
149: 2 [catch #t #<catch-closure 265a4c0> ...]
157: 1 [#<procedure 25f80f0 ()>]
In unknown file:
?: 0 [catch-closure]
ERROR: In procedure catch-closure:
ERROR: Throw to key `decoding-error' with args `("scm_from_stringn"
"input locale conversion error" 22 #vu8(50))'.
FAIL: lang-guile
"""
But I am pretty sure that It is not related.
Also I have tested it in other files, like this modification of
hello-python example for Python3, and It works fine.
# Example for use of GNU gettext.
# This file is in the public domain.
#
# Source code of the Python program.
import gettext
import os
gettext.textdomain('hello-python')
gettext.bindtextdomain('hello-python', '@localedir@')
i18ned = gettext.gettext("This program is running as process number {pid}.")
print(gettext.gettext("Hello, world!"))
print(i18ned.format(pid=os.getpid()))