Hi all,

That's a "sub-thread" of "unicode sandwich in otopi/engine-setup".

I was recommended to use 'six.text_type() over "u''". I did read [1],
and eventually decided that my own preference is to just add "u"
prefix. Reasoning is inside [1].

Do people have different preferences/reasoning they want to share?

Do people think we should have project-wide policy re this?

Personally, I do not see the big advantage of adding "six.text_type()"
(15 chars) instead of a single "u". I do see where it can be useful,
but not as a very long replacement, IMO, for "u", or for
unicode_literrals.

Thanks and best regards,

[1] http://python-future.org/unicode_literals.html
-- 
Didi
_______________________________________________
Devel mailing list -- [email protected]
To unsubscribe send an email to [email protected]
Privacy Statement: https://www.ovirt.org/site/privacy-policy/
oVirt Code of Conduct: 
https://www.ovirt.org/community/about/community-guidelines/
List Archives: 
https://lists.ovirt.org/archives/list/[email protected]/message/SW3P4VOGBP43N54CQEH3YURN6X5ZMWIX/

Reply via email to