dict.keys() compatibility in Python 2 and 3
Bug #1556350 reported by
Tang Chen
This bug affects 1 person
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
python-openstackclient |
Fix Released
|
Medium
|
Tang Chen |
Bug Description
In Python 2, dict.keys() will return a list. But in Python 3, it will return an iterator. So we need to fix all the assumptions that assuming dict.keys() is a list.
Changed in python-openstackclient: | |
assignee: | nobody → Tang Chen (tangchen) |
Changed in python-openstackclient: | |
importance: | Undecided → Medium |
To post a comment you must log in.
Fix proposed to branch: master /review. openstack. org/291973
Review: https:/