oslo.serialization/oslo_serialization
gecong1973 1df76ee42d Replace six.iteritems() with .items()
1.As mentioned in [1], we should avoid using
six.iteritems to achieve iterators. We can use
dict.items instead, as it will return iterators
in PY3 as well. And dict.items/keys will more readable.
2.In py2, the performance about list should be negligible,
see the link [2].
[1] https://wiki.openstack.org/wiki/Python3
[2] http://lists.openstack.org/pipermail/openstack-dev/2015-June/066391.html

Change-Id: Ifbe7929580ec61a2cd50232794c0cbd0cbf37edc
2016-12-12 11:11:28 +08:00
..
serializer Unified and simplified API for all serializers 2016-04-04 15:27:16 +03:00
tests Merge "Fix serialization of binary strings in Python3" 2016-08-04 13:31:57 +00:00
__init__.py Move files out of the namespace package 2015-01-05 15:40:06 -05:00
base64.py Use versionadded and versionchanged in doc 2015-10-15 14:38:50 +02:00
jsonutils.py Replace six.iteritems() with .items() 2016-12-12 11:11:28 +08:00
msgpackutils.py Replace six.iteritems() with .items() 2016-12-12 11:11:28 +08:00