[openstack-dev] [Solum] Unicode strings in Python3

Christopher Armstrong chris.armstrong at rackspace.com
Thu Dec 5 16:32:23 UTC 2013


On Thu, Dec 5, 2013 at 3:26 AM, Julien Danjou <julien at danjou.info> wrote:

> On Wed, Dec 04 2013, Georgy Okrokvertskhov wrote:
>
> > Quick summary: you can't use unicode() function and u' ' strings in
> Pyhton3.
>
> Not that it's advised, but you can use u' ' back again with Python 3.3.
>
>
And this is a very useful feature for projects that want to have a single
codebase that runs on both python 2 and python 3, so it's worth taking
advantage of.

-- 
IRC: radix
Christopher Armstrong
Rackspace
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.openstack.org/pipermail/openstack-dev/attachments/20131205/4dd0eae9/attachment.html>


More information about the OpenStack-dev mailing list