Incorporating changes in swift for py3 compatibility.
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
OpenStack Object Storage (swift) |
Invalid
|
Wishlist
|
janonymous |
Bug Description
py3 compatibility could be provided by Solving few mentioned issues among many
*Provide compatibility with python 3 , like Replace it.next() with next(it)
*Replacing dict.keys() which stores an entire list in memory to dict.iterkeys(). (which does not consume memory by keeping entire list in memory) ==> (furthur these methods might have to be imported from six package.)
*Convert the result of keys(), values() and items() dict method to list
when a list is expected. On Python 3, these methods now return an
iterator, not a list.
I could also register this as a blueprint but i was not sure it would be acceptable so i logged it as a bug/suggestion.
Kindly provide your valuable comments on the same.
Changed in swift: | |
assignee: | nobody → janonymous (janonymous) |
If Confirmed i am happy to contribute for the same. :)