<tt><font size=2>John S Warren/Raleigh/IBM@IBMUS wrote on 10/16/2013 03:38:05
PM:<br>
<br>
> From: John S Warren/Raleigh/IBM@IBMUS</font></tt>
<br><tt><font size=2>> To: OpenStack Development Mailing List <openstack-dev@lists.openstack.org>,
</font></tt>
<br><tt><font size=2>> Date: 10/16/2013 03:42 PM</font></tt>
<br><tt><font size=2>> Subject: Re: [openstack-dev] [oslo] i18n Message
improvements</font></tt>
<br><tt><font size=2>> <br>
> Doug Hellmann <doug.hellmann@dreamhost.com> wrote on 10/16/2013
03:11:12 PM:<br>
> <br>
> <br>
> > <br>
> > This doesn't quite match my understanding. <br>
> > <br>
> > IIUC, approach 1 was taken during havana and the resulting class
did<br>
> > not behave enough like a string to work everywhere (specifically,
<br>
> > with logging for locales that did not use UTF-8 or ASCII encoding),
<br>
> > so the feature was disabled at the last minute. <br>
> <br>
> Approach 1 includes extending the built-in text type (e.g. unicode),
<br>
> which is not what was done in Havana, and is an alternative way of
<br>
> addressing the logging issue.  In addition to fixing the logging
<br>
> issue, extending the built-in text type would eliminate the need to
<br>
> override a lot of the standard string-manipulation methods that are
<br>
> being overridden in the current Message implementation.  I'm
not sure <br>
> if that's what the term "magic" referred to in the meeting
<br>
> discussion, but it's something that bothers me about the status quo.
<br>
> <br>
> Thanks for your reply, <br>
> <br>
> John Warren_______________________________________________<br>
> OpenStack-dev mailing list<br>
> OpenStack-dev@lists.openstack.org<br>
> </font></tt><a href="http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack-dev"><tt><font size=2>http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack-dev</font></tt></a><tt><font size=2><br>
</font></tt>
<br><tt><font size=2>I should have mentioned that approach 1 is implemented
here:</font></tt>
<br><a href=https://review.openstack.org/#/c/46553><tt><font size=2>https://review.openstack.org/#/c/46553</font></tt></a><tt><font size=2>
and has been tested in Glance</font></tt>
<br><tt><font size=2>and Nova, so it is known to solve the logging problem
that caused</font></tt>
<br><tt><font size=2>lazy translation to be shut off.  I'm not claiming
it couldn't do</font></tt>
<br><tt><font size=2>with some polishing, but it does work.</font></tt>
<br>
<br><tt><font size=2>Thanks,</font></tt>
<br>
<br><tt><font size=2>John Warren</font></tt>