[openstack-dev] [oslo] i18n Message improvements

John S Warren jswarren at us.ibm.com
Wed Oct 16 19:38:05 UTC 2013


Doug Hellmann <doug.hellmann at dreamhost.com> wrote on 10/16/2013 03:11:12 
PM:


> 
> This doesn't quite match my understanding.
> 
> IIUC, approach 1 was taken during havana and the resulting class did
> not behave enough like a string to work everywhere (specifically, 
> with logging for locales that did not use UTF-8 or ASCII encoding), 
> so the feature was disabled at the last minute.

Approach 1 includes extending the built-in text type (e.g. unicode),
which is not what was done in Havana, and is an alternative way of
addressing the logging issue.  In addition to fixing the logging
issue, extending the built-in text type would eliminate the need to
override a lot of the standard string-manipulation methods that are
being overridden in the current Message implementation.  I'm not sure
if that's what the term "magic" referred to in the meeting
discussion, but it's something that bothers me about the status quo.

Thanks for your reply,

John Warren
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.openstack.org/pipermail/openstack-dev/attachments/20131016/2752fab5/attachment.html>


More information about the OpenStack-dev mailing list