[ovs-dev] [PATCH 02/11] python: Drop unicode type.
Ben Pfaff
blp at ovn.org
Tue Feb 2 21:11:39 UTC 2016
On Fri, Jan 22, 2016 at 09:32:24PM -0500, Russell Bryant wrote:
> Python 2 had str and unicode. Python 3 only has str, which is always a
> unicode string. Drop use of unicode with the help of six.text_type
> (unicode in py2 and str in py3) and six.string_types ([str, unicode] in
> py2 and [str] in py3).
>
> Signed-off-by: Russell Bryant <russell at ovn.org>
I had a lot of frustration with the difference between str and unicode
in Python 2. I'm glad the difference went away.
Acked-by: Ben Pfaff <blp at ovn.org>
More information about the dev
mailing list