On Thu, Dec 5, 2013 at 8:32 AM, Christopher Armstrong <
chris.armstr...@rackspace.com> wrote:

> On Thu, Dec 5, 2013 at 3:26 AM, Julien Danjou <jul...@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.
>

You are right. PEP 414 introduces u"" literals in Python3.3. Unicode()
function still does not work and should be avoided in the code, though.

-- 
> IRC: radix
> Christopher Armstrong
> Rackspace
>
>
>


-- 
Georgy Okrokvertskhov
Technical Program Manager,
Cloud and Infrastructure Services,
Mirantis
http://www.mirantis.com
Tel. +1 650 963 9828
Mob. +1 650 996 3284
_______________________________________________
OpenStack-dev mailing list
OpenStack-dev@lists.openstack.org
http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack-dev

Reply via email to