migrate-unicode-to-six

Registered by Aaron Rosen

Python 2’s unicode() type was renamed str() in Python 3, str() was renamed bytes(), and basestring() disappeared. six provides tools to deal with these changes.

Blueprint information

Status:
Complete
Approver:
None
Priority:
Undefined
Drafter:
None
Direction:
Needs approval
Assignee:
Aaron Rosen
Definition:
Obsolete
Series goal:
None
Implementation:
Unknown
Milestone target:
None
Completed by
Aaron Rosen

Related branches

Sprints

Whiteboard

As part of this blueprint I'd think that we'd want hacking bug 1257091 fixed -- mriedem

We have had a bunch of churn in nova to make it more python3 compatible, and in fact we now gate novaclient on python33. But for nova itself, we still have some dependencies on the wall of shame (https://python3wos.appspot.com/) I think we should come up with a plan to make dependencies python33 compatible before adding more churn. -- jogo

Gerrit topic: https://review.openstack.org/#q,topic:bp/migrate-unicode-to-six,n,z

Addressed by: https://review.openstack.org/34825
    Raise better exception if duplicate security groups

Addressed by: https://review.openstack.org/59803
    Replace unicode with six.text_type for python3 compatibilityAs part of this blueprint I'd think that we'd want hacking bug 1257091 fixed -- mriedem

We have had a bunch of churn in nova to make it more python3 compatible, and in fact we now gate novaclient on python33. But for nova itself, we still have some dependencies on the wall of shame (https://python3wos.appspot.com/) I think we should come up with a plan to make dependencies python33 compatible before adding more churn. -- jogo

Gerrit topic: https://review.openstack.org/#q,topic:bp/migrate-unicode-to-six,n,z

Addressed by: https://review.openstack.org/34825
    Raise better exception if duplicate security groups

Addressed by: https://review.openstack.org/59803
    Replace unicode with six.text_type for python3 compatibility

If you are still working on this, please re-submit via nova-specs. If not, please mark as obsolete, and add a quick comment to describe why. --johnthetubaguy (20th April 2014)

(?)

Work Items

This blueprint contains Public information 
Everyone can see this information.