Internationalisation of bzr cli
Jelmer Vernooij
jelmer at samba.org
Fri Apr 29 23:47:37 UTC 2011
On Sat, 2011-04-30 at 09:24 +1000, Ben Finney wrote:
> Martin Ueding <list at martin-ueding.de> writes:
>
> > What kind of alias should I use when wrapping strings?
> >
> > The underscore might be a little troublesome with its special value in
> > the Python interpreter as the last return value.
>
> That exists only in the interactive interpreter.
>
> Using ‘_’ for the ‘gettext’ alias is common practice in a lot of Python
> code; I don't see a good reason not to use it here.
When working on bzr at least some of the Bazaar developers often break
into the debugger where e.g. exceptions occur. Not being able to use _
there is a pain.
Cheers,
Jelmer
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 836 bytes
Desc: This is a digitally signed message part
URL: <https://lists.ubuntu.com/archives/bazaar/attachments/20110430/b65fca2f/attachment.pgp>
More information about the bazaar
mailing list